]> git.baikalelectronics.ru Git - kernel.git/commit
sit: Clean up DF code by copying from IPIP
authorHerbert Xu <herbert@gondor.apana.org.au>
Mon, 9 Nov 2009 08:42:01 +0000 (08:42 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Nov 2009 04:54:43 +0000 (20:54 -0800)
commit3e7af484da59216b844089a8d482aaa4a74958ac
tree061db777a54602f530d8c2431c666e78ca66559e
parentb39292decf4c769f6054fa39680c5cc953aff9a6
sit: Clean up DF code by copying from IPIP

This patch rearranges the SIT DF bit handling using the new IPIP DF
code.  The only externally visible effect should be the case where
PMTU is enabled and the MTU is exactly 1280 bytes.  In this case the
previous code would send packets out with DF off while the new code
would set the DF bit.  This is inline with RFC 4213.

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