diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-06-06 23:12:08 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-06-08 00:25:21 -0400 |
commit | 66018506e15bea62de4eefc3298f170b4bfcf5ef (patch) | |
tree | d2dbf5c06e317b85f75b946a1b63ed0917d0382a /include/net/ip.h | |
parent | 8b37ef0a1f6c2401fea3536facfa21191936bd6c (diff) |
ip: Router Alert RCU conversion
Straightforward conversion to RCU.
One rwlock becomes a spinlock, and is static.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ip.h')
-rw-r--r-- | include/net/ip.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/ip.h b/include/net/ip.h index 452f229c380a..9982c97f0bdc 100644 --- a/include/net/ip.h +++ b/include/net/ip.h | |||
@@ -62,10 +62,10 @@ struct ip_ra_chain { | |||
62 | struct ip_ra_chain *next; | 62 | struct ip_ra_chain *next; |
63 | struct sock *sk; | 63 | struct sock *sk; |
64 | void (*destructor)(struct sock *); | 64 | void (*destructor)(struct sock *); |
65 | struct rcu_head rcu; | ||
65 | }; | 66 | }; |
66 | 67 | ||
67 | extern struct ip_ra_chain *ip_ra_chain; | 68 | extern struct ip_ra_chain *ip_ra_chain; |
68 | extern rwlock_t ip_ra_lock; | ||
69 | 69 | ||
70 | /* IP flags. */ | 70 | /* IP flags. */ |
71 | #define IP_CE 0x8000 /* Flag: "Congestion" */ | 71 | #define IP_CE 0x8000 /* Flag: "Congestion" */ |