macvtap: Consistently use rcu functions
authorVlad Yasevich <vyasevic@redhat.com>
Tue, 25 Jun 2013 20:04:20 +0000 (16:04 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Jun 2013 23:44:56 +0000 (16:44 -0700)
commitac4e4af1e59e16a018527ffa58d9d3f30bb96ca9
tree310295ae1fffa64e94f8f3d733465d652925149a
parent441ac0fcaadc76ad09771812382345001dd2b813
macvtap: Consistently use rcu functions

Currently macvtap uses rcu_bh functions in its
user facing fuction macvtap_get_user() and macvtap_put_user().
However, its packet handlers use normal rcu as the rcu_read_lock()
is taken in netif_receive_skb().  We can safely discontinue
the usage or rcu with bh disabled.

Signed-off-by: Vlad Yasevich <vyasevic@redhat.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/macvtap.c