mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
Remus: use imqebt instead of ebtables
I added a standalone IMQ-aware ebtables version in the initial Remus submission, but forgot to actually activate it. This fixes that oversight. Signed-off-by: Brendan Cully <brendan@cs.ubc.ca>
This commit is contained in:
1 parent
e0b0cd61d2
commit
283444b7cd
1 file changed
+2
-2
+2
-2
@@ -199,8 +199,8 @@ class Netbuffer(BufferedDevice):
|
||||
for mod in ['sch_queue', 'imq', 'ebt_imq']:
|
||||
util.runcmd(['modprobe', mod])
|
||||
util.runcmd("ip link set %s up" % (imqdev))
|
||||
util.runcmd("ebtables -F FORWARD")
|
||||
util.runcmd("ebtables -A FORWARD -i %s -j imq --todev %s" % (vid, imqdev))
|
||||
util.runcmd("%s -F FORWARD" % (imqebt))
|
||||
util.runcmd("%s -A FORWARD -i %s -j imq --todev %s" % (imqebt, vid, imqdev))
|
||||
|
||||
return imqdev
|
||||
|
||||
|
||||