]> git.karo-electronics.de Git - karo-tx-linux.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)
commitc836a8ba93869d6a0290a6ae0047fbef09066871
tree5135c333cf33a467fae546dfc92915287fe8e3a5
parent6adc5fd6a142c6e2c80574c1db0c7c17dedaa42e
ipv6: sctp: add rcu protection around np->opt

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 <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/ipv6.c