projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a210576
)
bridge: remove a redundant synchronize_net()
author
Eric Dumazet
<
[email protected]
>
Tue, 2 Apr 2013 05:45:00 +0000
(
05:45
+0000)
committer
David S. Miller
<
[email protected]
>
Tue, 2 Apr 2013 16:10:58 +0000
(12:10 -0400)
commit
00cfec37484761
(net: add a synchronize_net() in
netdev_rx_handler_unregister())
allows us to remove the synchronized_net() call from del_nbp()
Signed-off-by: Eric Dumazet <
[email protected]
>
Cc: Veaceslav Falico <
[email protected]
>
Cc: Stephen Hemminger <
[email protected]
>
Acked-by: Veaceslav Falico <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
net/bridge/br_if.c
patch
|
blob
|
history
diff --git
a/net/bridge/br_if.c
b/net/bridge/br_if.c
index ef1b91431c6bb1e0627119f877eca0d2339a899c..f17fcb3097c2d55cfc4ddcfb330fbd3ea0e179da 100644
(file)
--- a/
net/bridge/br_if.c
+++ b/
net/bridge/br_if.c
@@
-148,7
+148,6
@@
static void del_nbp(struct net_bridge_port *p)
dev->priv_flags &= ~IFF_BRIDGE_PORT;
netdev_rx_handler_unregister(dev);
- synchronize_net();
netdev_upper_dev_unlink(dev, br->dev);