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>
This commit is contained in:
committed by
David S. Miller
parent
8b37ef0a1f
commit
66018506e1
@@ -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" */
|
||||
|
Reference in New Issue
Block a user