summaryrefslogtreecommitdiffstats
path: root/net/ipv6/ip6_checksum.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2016-02-12 11:28:38 +0100
committerDavid S. Miller <davem@davemloft.net>2016-02-12 11:28:38 +0100
commite51271d4ce7b229f5c02903e3c44bf92c0dbef6b (patch)
tree8b75745c913c33eba2707c3dc5fb0e312bfe3387 /net/ipv6/ip6_checksum.c
parentMerge branch 'net-mitigate-kmem_free-slowpath' (diff)
parenttcp/dccp: better use of ephemeral ports in bind() (diff)
downloadlinux-e51271d4ce7b229f5c02903e3c44bf92c0dbef6b.tar.xz
linux-e51271d4ce7b229f5c02903e3c44bf92c0dbef6b.zip
Merge branch 'tcp_dccp_ports'
Eric Dumazet says: ==================== tcp/dccp: better use of ephemeral ports Big servers have bloated bind table, making very hard to succeed ephemeral port allocations, without special containers/namespace tricks. This patch series extends the strategy added in commit 07f4c90062f8 ("tcp/dccp: try to not exhaust ip_local_port_range in connect()"). Since ports used by connect() are much likely to be shared among them, we give a hint to both bind() and connect() to keep the crowds separated if possible. Of course, if on a specific host an application needs to allocate ~30000 ports using bind(), it will still be able to do so. Same for ~30000 connect() to a unique 2-tuple (dst addr, dst port) New implemetation is also more friendly to softirqs and reschedules. v2: rebase after TCP SO_REUSEPORT changes ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/ip6_checksum.c')
0 files changed, 0 insertions, 0 deletions