projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't special-case broadcast packets in in-band mode.
[openvswitch]
/
secchan
/
secchan.c
diff --git
a/secchan/secchan.c
b/secchan/secchan.c
index 08002143115cb2e6991093d91dc4bb957b11c896..037cc7682937a7718a31259f4e9618161073a9f1 100644
(file)
--- a/
secchan/secchan.c
+++ b/
secchan/secchan.c
@@
-396,10
+396,7
@@
local_hook(struct relay *r)
flow_extract(&pkt, in_port, &flow);
/* Deal with local stuff. */
flow_extract(&pkt, in_port, &flow);
/* Deal with local stuff. */
- if (!rconn_is_connected(r->halves[HALF_REMOTE].rconn)
- && eth_addr_is_broadcast(flow.dl_dst)) {
- out_port = OFPP_FLOOD;
- } else if (in_port == OFPP_LOCAL) {
+ if (in_port == OFPP_LOCAL) {
out_port = mac_learning_lookup(local_ml, flow.dl_dst);
} else if (eth_addr_equals(flow.dl_dst, local_mac)) {
out_port = OFPP_LOCAL;
out_port = mac_learning_lookup(local_ml, flow.dl_dst);
} else if (eth_addr_equals(flow.dl_dst, local_mac)) {
out_port = OFPP_LOCAL;