Eric Dumazet 9470e24f35 ipv6: sctp: clone options to avoid use after free
SCTP is lacking proper np->opt cloning at accept() time.

TCP and DCCP use ipv6_dup_options() helper, do the same
in SCTP.

We might later factorize this code in a common helper to avoid
future mistakes.

Reported-by: Dmitry Vyukov <dvyukov@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Vlad Yasevich <vyasevich@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-12-11 20:18:40 -05:00
..
2013-12-06 12:37:56 -05:00
2014-10-30 19:40:16 -04:00
2013-12-06 12:37:56 -05:00
2015-11-09 15:11:24 -08:00
2013-12-06 12:37:56 -05:00
2014-11-11 13:00:06 -05:00