netfilter: rt: account for tcp header size too
authorFlorian Westphal <fw@strlen.de>
Mon, 28 Aug 2017 15:00:12 +0000 (17:00 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 28 Aug 2017 16:14:30 +0000 (18:14 +0200)
commit1aff64715edb8565e99337b842d814d636641b50
tree8f80e1393cecea031f7c6da6c41ed0c747309910
parentd11dd6cdc3883f3c74f841f4d40dfe57c0b9756c
netfilter: rt: account for tcp header size too

This needs to accout for the ipv4/ipv6 header size and the tcp
header without options.

Fixes: 6b5dc98e8fac0 ("netfilter: rt: add support to fetch path mss")
Reported-by: Matteo Croce <technoboy85@gmail.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nft_rt.c