]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: sctp: add rcu protection around np->opt
authorEric Dumazet <edumazet@google.com>
Thu, 3 Dec 2015 05:48:14 +0000 (21:48 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Dec 2015 16:30:58 +0000 (11:30 -0500)
commitf078bc8b1b96b74524268eb6b7109c9686e5bd7b
tree5135c333cf33a467fae546dfc92915287fe8e3a5
parentd6cef91b93eef652cd69a67cb6f4a81f5159031b
ipv6: sctp: add rcu protection around np->opt

This patch completes the work I did in commit 5de899e6abee
("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 <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/ipv6.c