From: Craig Gallek <kr...@google.com>
Date: Tue, 30 Jun 2015 12:49:32 -0400

> Kernel sockets do not hold a reference for the network namespace to
> which they point.  Socket destruction broadcasting relies on the
> network namespace and will cause the splat below when a kernel socket
> is destroyed.
> 
> This fix simply ignores kernel sockets when they are destroyed.
 ...
> Tested:
>   Using a debug kernel while 'ss -E' is running:
>   ip netns add test-ns
>   ip netns delete test-ns
> 
> Fixes: eb4cb008529c sock_diag: define destruction multicast groups
> Fixes: 26abe14379f8 net: Modify sk_alloc to not reference count the
>   netns of kernel sockets.
> Reported-by: Dave Jones <da...@codemonkey.org.uk>
> Suggested-by: Eric Dumazet <eric.duma...@gmail.com>
> 
> Signed-off-by: Craig Gallek <kr...@google.com>

APplied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to