]> 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)
commit1df291b58656352f824c2c51115130294c03ae6e
tree5135c333cf33a467fae546dfc92915287fe8e3a5
parent8ae1ae7d2a3a9edaaa51d8a88b87e605dd419fd0
ipv6: sctp: add rcu protection around np->opt

This patch completes the work I did in commit 25087ed5aecb
("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