ipv6/dccp: do not inherit ipv6_mc_list from parent
authorWANG Cong <xiyou.wangcong@gmail.com>
Tue, 9 May 2017 23:59:54 +0000 (16:59 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 May 2017 16:17:02 +0000 (12:17 -0400)
commit83eaddab4378db256d00d295bda6ca997cd13a52
tree544eeb2934d627c6e828df941216f6ad806df90b
parent0fe20fafd1791f993806d417048213ec57b81045
ipv6/dccp: do not inherit ipv6_mc_list from parent

Like commit 657831ffc38e ("dccp/tcp: do not inherit mc_list from parent")
we should clear ipv6_mc_list etc. for IPv6 sockets too.

Cc: Eric Dumazet <edumazet@google.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dccp/ipv6.c
net/ipv6/tcp_ipv6.c