Re: [PATCH net] sock_diag: don't broadcast kernel sockets

2015-06-30 Thread David Miller
From: Craig Gallek 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 s

[PATCH net] sock_diag: don't broadcast kernel sockets

2015-06-30 Thread Craig Gallek
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. Reported as: gen