rps: add __rcu annotations
authorEric Dumazet <eric.dumazet@gmail.com>
Mon, 25 Oct 2010 03:02:02 +0000 (03:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Oct 2010 21:18:27 +0000 (14:18 -0700)
commit6e3f7faf3e8a3e226b1a6b955aac12abf2f2e1b6
treea2ff2fe9f86ff561d62ceac56e8fe18d7b6f14a0
parentf6318e558806c925029dc101f14874be9f9fa78f
rps: add __rcu annotations

Add __rcu annotations to :
(struct netdev_rx_queue)->rps_map
(struct netdev_rx_queue)->rps_flow_table
struct rps_sock_flow_table *rps_sock_flow_table;

And use appropriate rcu primitives.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h
net/core/dev.c
net/core/net-sysfs.c
net/core/sysctl_net_core.c