team: use rcu_dereference_bh() in tx path
authorJiri Pirko <jpirko@redhat.com>
Tue, 19 Jun 2012 05:54:21 +0000 (05:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Jun 2012 22:00:24 +0000 (15:00 -0700)
commitd1904fbd881e43cde2ec024117efaba83f8d9996
tree51df81d4f7eafd3d2125fa0c71d0199f76e3f50d
parent2fcdb2c9e6598e6ced232eca7aa4a61342691f3b
team: use rcu_dereference_bh() in tx path

Should be used instead of rcu_dereference, since rcu_read_lock_bh is
held.

Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/team/team_mode_activebackup.c
drivers/net/team/team_mode_loadbalance.c