mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
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:
parent
8b37ef0a1f
commit
66018506e1
3 changed files with 18 additions and 18 deletions
|
|
@ -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" */
|
||||
|
|
|
|||
Loading…
Reference in a new issue