summaryrefslogtreecommitdiffstats
path: root/net/rxrpc/ar-proc.c
diff options
context:
space:
mode:
authorFlorian Westphal2014-05-02 15:32:16 +0200
committerPablo Neira Ayuso2014-05-04 13:23:28 +0200
commit895162b1101b3ea5db08ca6822ae9672717efec0 (patch)
treef1f5e7f56e89b0df803fd1f4aeb94abf5d7b1b59 /net/rxrpc/ar-proc.c
parentnetfilter: ctnetlink: don't add null bindings if no nat requested (diff)
downloadkernel-qcow2-linux-895162b1101b3ea5db08ca6822ae9672717efec0.tar.gz
kernel-qcow2-linux-895162b1101b3ea5db08ca6822ae9672717efec0.tar.xz
kernel-qcow2-linux-895162b1101b3ea5db08ca6822ae9672717efec0.zip
netfilter: ipv4: defrag: set local_df flag on defragmented skb
else we may fail to forward skb even if original fragments do fit outgoing link mtu: 1. remote sends 2k packets in two 1000 byte frags, DF set 2. we want to forward but only see '2k > mtu and DF set' 3. we then send icmp error saying that outgoing link is 1500 But original sender never sent a packet that would not fit the outgoing link. Setting local_df makes outgoing path test size vs. IPCB(skb)->frag_max_size, so we will still send the correct error in case the largest original size did not fit outgoing link mtu. Reported-by: Maxime Bizon <mbizon@freebox.fr> Suggested-by: Maxime Bizon <mbizon@freebox.fr> Fixes: 5f2d04f1f9 (ipv4: fix path MTU discovery with connection tracking) Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/rxrpc/ar-proc.c')
0 files changed, 0 insertions, 0 deletions