]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: add tcp_mss_clamp() helper
authorEric Dumazet <edumazet@google.com>
Thu, 2 Feb 2017 16:04:56 +0000 (08:04 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 Feb 2017 16:19:34 +0000 (11:19 -0500)
commit1f587375c3039525a1528af6d611b556e8415eab
tree1049ef01f68f197e66fa77f18768aaf6d219f8b1
parent04c88dd7438114c9e0cf033e5babec62481894d6
tcp: add tcp_mss_clamp() helper

Small cleanup factorizing code doing the TCP_MAXSEG clamping.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/tcp.h
net/ipv4/tcp_ipv4.c
net/ipv4/tcp_minisocks.c
net/ipv4/tcp_output.c
net/ipv6/tcp_ipv6.c