diff options
author | Florian Westphal <fw@strlen.de> | 2014-05-04 23:24:31 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-05-07 15:26:09 -0400 |
commit | ca6c5d4ad216d5942ae544bbf02503041bd802aa (patch) | |
tree | b1a3ebd37a8c9660cb2343f5f1dd8688b9de6782 /block/blk-settings.c | |
parent | 4f4178f3bb1f470d7fb863ec531e08e20a0fd51c (diff) |
net: ipv4: ip_forward: fix inverted local_df test
local_df means 'ignore DF bit if set', so if its set we're
allowed to perform ip fragmentation.
This wasn't noticed earlier because the output path also drops such skbs
(and emits needed icmp error) and because netfilter ip defrag did not
set local_df until couple of days ago.
Only difference is that DF-packets-larger-than MTU now discarded
earlier (f.e. we avoid pointless netfilter postrouting trip).
While at it, drop the repeated test ip_exceeds_mtu, checking it once
is enough...
Fixes: fe6cc55f3a9 ("net: ip, ipv6: handle gso skbs in forwarding path")
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'block/blk-settings.c')
0 files changed, 0 insertions, 0 deletions