net: bonding: factor out rlock(bond->lock) in xmit path
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>
Sat, 7 May 2011 01:48:02 +0000 (01:48 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 May 2011 19:05:59 +0000 (12:05 -0700)
Pull read_lock(&bond->lock) and BOND_IS_OK() to bond_start_xmit() from
mode-dependent xmit functions.

netif_running() is always true in hard_start_xmit.

Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found