projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab48643
)
in-band: Fix inconsistency in in-band code.
author
Ben Pfaff
<blp@nicira.com>
Tue, 6 Apr 2010 00:12:43 +0000
(17:12 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Tue, 20 Apr 2010 18:01:44 +0000
(11:01 -0700)
The IBR_TO_LOCAL_ARP and IBR_FROM_LOCAL_ARP flows are dropped if there is
no local MAC. I don't see why IBR_FROM_LOCAL_DHCP should be different, so
this commit adds it too.
ofproto/in-band.c
patch
|
blob
|
history
diff --git
a/ofproto/in-band.c
b/ofproto/in-band.c
index 2118809ea9c3316b0f0ef3bb5ef1b5e09f33f557..7774a51e358e00be3430e14495f9f612dab25cbf 100644
(file)
--- a/
ofproto/in-band.c
+++ b/
ofproto/in-band.c
@@
-504,6
+504,7
@@
in_band_run(struct in_band *in_band)
(OFPFW_DL_TYPE | OFPFW_DL_SRC | OFPFW_NW_PROTO),
OFPP_NORMAL);
} else {
+ drop_flow(in_band, IBR_FROM_LOCAL_DHCP);
drop_flow(in_band, IBR_TO_LOCAL_ARP);
drop_flow(in_band, IBR_FROM_LOCAL_ARP);
}