[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <e4c7c9f7-1d51-30d6-b073-f66057c1bc2a@cumulusnetworks.com>
Date: Fri, 19 Aug 2016 09:03:57 -0600
From: David Ahern <dsa@...ulusnetworks.com>
To: Eric Dumazet <eric.dumazet@...il.com>
Cc: netdev@...r.kernel.org
Subject: Re: [RFC PATCH] net: diag: support SOCK_DESTROY for UDP sockets
On 8/18/16 10:17 PM, Eric Dumazet wrote:
> Why are you iterating the whole table ?
>
> Normally, udp_hashfn(net, ntohs(dport), udptable->mask) slot should be
> enough to find all sockets bound to dport.
I took a tangent after in early mistake with the socket lookup and after that I was focused on doing the right thing in udp_abort and did not revisit the socket lookup. Reverted to __udp{4,6}_lib_lookup.
Powered by blists - more mailing lists