linux/include
Willem de Bruijn 9a0fee2b55 sock_diag: do not broadcast raw socket destruction
Diag intends to broadcast tcp_sk and udp_sk socket destruction.
Testing sk->sk_protocol for IPPROTO_TCP/IPPROTO_UDP alone is not
sufficient for this. Raw sockets can have the same type.

Add a test for sk->sk_type.

Fixes: eb4cb00852 ("sock_diag: define destruction multicast groups")
Signed-off-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-06-28 09:08:51 -04:00
..
acpi Merge branches 'acpica-fixes', 'acpi-video' and 'acpi-processor' 2016-06-03 22:35:05 +02:00
asm-generic
clocksource
crypto
drm
dt-bindings
keys
kvm
linux sock_diag: do not broadcast raw socket destruction 2016-06-28 09:08:51 -04:00
math-emu
media
memory
misc
net act_ife: only acquire tcf_lock for existing actions 2016-06-23 12:02:36 -04:00
pcmcia
ras
rdma IB/core: Make all casts in ib_device_cap_flags enum consistent 2016-06-07 09:50:55 -04:00
rxrpc
scsi
soc
sound
target
trace
uapi netfilter: xt_SYNPROXY: include missing <linux/types.h> 2016-06-17 13:47:40 +02:00
video
xen
Kbuild