summaryrefslogtreecommitdiff
path: root/lib/dynamic_debug.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2018-12-14 15:55:21 -0800
committerDavid S. Miller <davem@davemloft.net>2018-12-14 15:55:21 -0800
commitb9948e1113913237d6ee5d30c886514220f69163 (patch)
treea8a236c1acd98c05cdab07f9f6fd1f911975ea1f /lib/dynamic_debug.c
parent8e2ea53a83dfb4b892ba35ddd9e78e6091202fa6 (diff)
parent6254e5c6a8d7c19e51e671e2648de2db06f8d504 (diff)
Merge branch 'net-prefer-listeners-bound-to-an-address'
Peter Oskolkov says: ==================== net: prefer listeners bound to an address A relatively common use case is to have several IPs configured on a host, and have different listeners for each of them. We would like to add a "catch all" listener on addr_any, to match incoming connections not served by any of the listeners bound to a specific address. However, port-only lookups can match addr_any sockets when sockets listening on specific addresses are present if so_reuseport flag is set. This patchset eliminates lookups into port-only hashtable, as lookups by (addr,port) tuple are easily available. In a future patchset I plan to explore whether it is possible to remove port-only hashtables completely: additional refactoring will be required, as some non-lookup code uses the hashtables. ==================== Reviewed-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions