projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
706fca8
)
Do not forward multicast addresses that must not be, in learning-switch.
author
Ben Pfaff
<blp@nicira.com>
Tue, 6 Jan 2009 00:00:19 +0000
(16:00 -0800)
committer
Ben Pfaff
<blp@nicira.com>
Tue, 6 Jan 2009 00:00:19 +0000
(16:00 -0800)
lib/learning-switch.c
patch
|
blob
|
history
diff --git
a/lib/learning-switch.c
b/lib/learning-switch.c
index bd7da226d23e10bc84bb3dc349ab99d833f5b70f..c53ff39e4bb81587f72b79ce53c2c66c8640ca10 100644
(file)
--- a/
lib/learning-switch.c
+++ b/
lib/learning-switch.c
@@
-425,6
+425,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;