diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2008-09-09 01:19:58 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-09-09 01:19:58 +0200 |
commit | 4aa678ba44aa35759c04f300afbc97d3dab5faa2 (patch) | |
tree | fc4a2e01cde902913594b00461ea7e021fc223c4 /net/bridge/br_stp_bpdu.c | |
parent | warn: Turn the netdev timeout WARN_ON() into a WARN() (diff) | |
download | linux-4aa678ba44aa35759c04f300afbc97d3dab5faa2.tar.xz linux-4aa678ba44aa35759c04f300afbc97d3dab5faa2.zip |
netns bridge: allow bridges in netns!
Bridge as netdevice doesn't cross netns boundaries.
Bridge ports and bridge itself live in same netns.
Notifiers are fixed.
netns propagated from userspace socket for setup and teardown.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Acked-by: Stephen Hemminger <shemming@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_stp_bpdu.c')
-rw-r--r-- | net/bridge/br_stp_bpdu.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/bridge/br_stp_bpdu.c b/net/bridge/br_stp_bpdu.c index 8b200f96f722..81ae40b3f655 100644 --- a/net/bridge/br_stp_bpdu.c +++ b/net/bridge/br_stp_bpdu.c @@ -140,9 +140,6 @@ void br_stp_rcv(const struct stp_proto *proto, struct sk_buff *skb, struct net_bridge *br; const unsigned char *buf; - if (!net_eq(dev_net(dev), &init_net)) - goto err; - if (!p) goto err; |