]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[NETFILTER]: xt_TCPMSS: consider reverse route's MTU in clamp-to-pmtu
authorJan Engelhardt <jengelh@computergmbh.de>
Thu, 31 Jan 2008 12:06:10 +0000 (04:06 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Feb 2008 03:27:42 +0000 (19:27 -0800)
commit37c08387fc31a0fe7a570664c93be4f1c1bc0c94
tree30dc561200b0ada3fe92da4b4cdd39d18565b093
parentdf200969b1627e8f1cda7ce8c0707863f91bb81b
[NETFILTER]: xt_TCPMSS: consider reverse route's MTU in clamp-to-pmtu

The TCPMSS target in Xtables should consider the MTU of the reverse
route on forwarded packets as part of the path MTU.

Point in case: IN=ppp0, OUT=eth0. MSS set to 1460 in spite of MTU of
ppp0 being 1392.

Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/xt_TCPMSS.c