[BRIDGE]: forwarding remove unneeded preempt and bh diasables
authorStephen Hemminger <shemminger@osdl.org>
Tue, 21 Mar 2006 06:58:36 +0000 (22:58 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Mar 2006 06:58:36 +0000 (22:58 -0800)
commitf8ae737deea1be001d7d8ac11c382a7b73a1c98f
treefdf933b58a17e525e38683e1f8d5a52c4708964b
parentfdeabdefb227be9aa932f59a23ddb47e003e643e
[BRIDGE]: forwarding remove unneeded preempt and bh diasables

Optimize the forwarding and transmit paths. Both places are
called with bottom half/no preempt so there is no need to use
spin_lock_bh or rcu_read_lock.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_device.c
net/bridge/br_fdb.c