git://git.onelab.eu
/
sliver-openvswitch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
8e8ac80
)
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, 13 Jan 2009 01:14:23 +0000
(17:14 -0800)
lib/learning-switch.c
patch
|
blob
|
history
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;