]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf0f9a9f323d0e7ca694cd436f825bb177ccb2ae0
tree544eeb2934d627c6e828df941216f6ad806df90b
parent4ba8cf82d477c9f434ccdf9567887b8f7a313961
ipv6/dccp: do not inherit ipv6_mc_list from parent

Like commit ec9e8b2d346f ("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