summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorWillem de Bruijn <willemb@google.com>2016-06-24 22:02:35 +0200
committerDavid S. Miller <davem@davemloft.net>2016-06-28 15:08:51 +0200
commit9a0fee2b552b1235fb1706ae1fc664ae74573be8 (patch)
tree287669c8a80545d1b958e8f4426e155c7d3efe05 /net
parentconnector: fix out-of-order cn_proc netlink message delivery (diff)
downloadlinux-9a0fee2b552b1235fb1706ae1fc664ae74573be8.tar.xz
linux-9a0fee2b552b1235fb1706ae1fc664ae74573be8.zip
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: eb4cb008529c ("sock_diag: define destruction multicast groups") Signed-off-by: Willem de Bruijn <willemb@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions