git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bridge: Add a flag to control unicast packet flood.
[pandora-kernel.git]
/
net
/
bridge
/
br_if.c
diff --git
a/net/bridge/br_if.c
b/net/bridge/br_if.c
index
4cdba60
..
5623be6
100644
(file)
--- a/
net/bridge/br_if.c
+++ b/
net/bridge/br_if.c
@@
-221,7
+221,7
@@
static struct net_bridge_port *new_nbp(struct net_bridge *br,
p->path_cost = port_cost(dev);
p->priority = 0x8000 >> BR_PORT_BITS;
p->port_no = index;
- p->flags =
0
;
+ p->flags =
BR_LEARNING | BR_FLOOD
;
br_init_port(p);
p->state = BR_STATE_DISABLED;
br_stp_port_timer_init(p);