[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160628.090933.2110451603920060165.davem@davemloft.net>
Date: Tue, 28 Jun 2016 09:09:33 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: willemdebruijn.kernel@...il.com
Cc: netdev@...r.kernel.org, kraig@...gle.com, willemb@...gle.com
Subject: Re: [PATCH net] sock_diag: do not broadcast raw socket destruction
From: Willem de Bruijn <willemdebruijn.kernel@...il.com>
Date: Fri, 24 Jun 2016 16:02:35 -0400
> From: Willem de Bruijn <willemb@...gle.com>
>
> 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@...gle.com>
Applied and queued up for -stable, thanks.
Powered by blists - more mailing lists