diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-06-07 07:42:13 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-06-08 01:49:25 -0400 |
commit | bb69ae049fcc986fcd742eb90ca0d44a7a49c9f1 (patch) | |
tree | 22f9aa03f9f59139ece8ef1484fe5d4a5b86bd47 /include/linux/netdevice.h | |
parent | 6e8b11b43b0c2e901734e2cdd70c6e325a90c4ef (diff) |
anycast: Some RCU conversions
- dev_get_by_flags() changed to dev_get_by_flags_rcu()
- ipv6_sock_ac_join() dont touch dev & idev refcounts
- ipv6_sock_ac_drop() dont touch dev & idev refcounts
- ipv6_sock_ac_close() dont touch dev & idev refcounts
- ipv6_dev_ac_dec() dount touch idev refcount
- ipv6_chk_acast_addr() dont touch idev refcount
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
CC: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r-- | include/linux/netdevice.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 5156b806924c..c319f28d699d 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
@@ -1271,8 +1271,8 @@ extern void dev_add_pack(struct packet_type *pt); | |||
1271 | extern void dev_remove_pack(struct packet_type *pt); | 1271 | extern void dev_remove_pack(struct packet_type *pt); |
1272 | extern void __dev_remove_pack(struct packet_type *pt); | 1272 | extern void __dev_remove_pack(struct packet_type *pt); |
1273 | 1273 | ||
1274 | extern struct net_device *dev_get_by_flags(struct net *net, unsigned short flags, | 1274 | extern struct net_device *dev_get_by_flags_rcu(struct net *net, unsigned short flags, |
1275 | unsigned short mask); | 1275 | unsigned short mask); |
1276 | extern struct net_device *dev_get_by_name(struct net *net, const char *name); | 1276 | extern struct net_device *dev_get_by_name(struct net *net, const char *name); |
1277 | extern struct net_device *dev_get_by_name_rcu(struct net *net, const char *name); | 1277 | extern struct net_device *dev_get_by_name_rcu(struct net *net, const char *name); |
1278 | extern struct net_device *__dev_get_by_name(struct net *net, const char *name); | 1278 | extern struct net_device *__dev_get_by_name(struct net *net, const char *name); |