Re: [PATCH net] ipv6: sctp: add rcu protection around np->opt

2015-12-03 Thread David Miller
From: Eric Dumazet Date: Wed, 02 Dec 2015 21:48:14 -0800 > From: Eric Dumazet > > This patch completes the work I did in commit 45f6fad84cc3 > ("ipv6: add complete rcu protection around np->opt"), as I missed > sctp part. > > This simply makes sure np->opt is used with proper RCU locking > and

[PATCH net] ipv6: sctp: add rcu protection around np->opt

2015-12-02 Thread Eric Dumazet
From: Eric Dumazet This patch completes the work I did in commit 45f6fad84cc3 ("ipv6: add complete rcu protection around np->opt"), as I missed sctp part. This simply makes sure np->opt is used with proper RCU locking and accessors. Signed-off-by: Eric Dumazet --- net/sctp/ipv6.c | 13 +