commit | ac4e4af1e59e16a018527ffa58d9d3f30bb96ca9 | [log] [tgz] |
---|---|---|
author | Vlad Yasevich <vyasevic@redhat.com> | Tue Jun 25 16:04:20 2013 -0400 |
committer | David S. Miller <davem@davemloft.net> | Tue Jun 25 16:44:56 2013 -0700 |
tree | 310295ae1fffa64e94f8f3d733465d652925149a | |
parent | 441ac0fcaadc76ad09771812382345001dd2b813 [diff] |
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>