sctp: do not inherit ipv6_{mc|ac|fl}_list from parent
authorEric Dumazet <edumazet@google.com>
Wed, 17 May 2017 14:16:40 +0000 (07:16 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 May 2017 14:24:08 +0000 (10:24 -0400)
commitfdcee2cbb8438702ea1b328fb6e0ac5e9a40c7f8
tree36eeaff66310ffd838274809cdb6a628400732ca
parenta3f96c47c8d4c38be71fdbb440a99968c764ba62
sctp: do not inherit ipv6_{mc|ac|fl}_list from parent

SCTP needs fixes similar to 83eaddab4378 ("ipv6/dccp: do not inherit
ipv6_mc_list from parent"), otherwise bad things can happen.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reported-by: Andrey Konovalov <andreyknvl@google.com>
Tested-by: Andrey Konovalov <andreyknvl@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/ipv6.c