[IPV6]: Fix reversed local_df test in ip6_fragment
authorHerbert Xu <herbert@gondor.apana.org.au>
Fri, 15 Feb 2008 07:49:37 +0000 (23:49 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Feb 2008 07:49:37 +0000 (23:49 -0800)
commitb5c15fc004ac83b7ad280acbe0fd4bbed7e2c8d4
tree833b7ee268aa10aabd4b1baffb83c75f7402bc77
parent073a371987f9a9806a85329eed51dca1fc52a7a0
[IPV6]: Fix reversed local_df test in ip6_fragment

I managed to reverse the local_df test when forward-porting this
patch so it actually makes things worse by never fragmenting at
all.

Thanks to David Stevens for testing and reporting this bug.

Bill Fink pointed out that the local_df setting is also the wrong
way around.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_output.c