git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Do not forward multicast addresses that must not be, in learning-switch.
[sliver-openvswitch.git]
/
lib
/
learning-switch.c
diff --git
a/lib/learning-switch.c
b/lib/learning-switch.c
index
e89b257
..
e674881
100644
(file)
--- a/
lib/learning-switch.c
+++ b/
lib/learning-switch.c
@@
-417,6
+417,10
@@
process_packet_in(struct lswitch *sw, struct rconn *rconn, void *opi_)
}
}
+ if (eth_addr_is_reserved(flow.dl_src)) {
+ goto drop_it;
+ }
+
if (!may_recv(sw, in_port, false)) {
/* STP prevents receiving anything on this port. */
goto drop_it;