diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-06-07 03:12:08 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-06-07 21:25:21 -0700 |
commit | 66018506e15bea62de4eefc3298f170b4bfcf5ef (patch) | |
tree | d2dbf5c06e317b85f75b946a1b63ed0917d0382a /include/net/ip.h | |
parent | 8b37ef0a1f6c2401fea3536facfa21191936bd6c (diff) | |
download | linux-66018506e15bea62de4eefc3298f170b4bfcf5ef.tar.bz2 |
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 { struct ip_ra_chain *next; struct sock *sk; void (*destructor)(struct sock *); + struct rcu_head rcu; }; extern struct ip_ra_chain *ip_ra_chain; -extern rwlock_t ip_ra_lock; /* IP flags. */ #define IP_CE 0x8000 /* Flag: "Congestion" */ |