]> git.karo-electronics.de Git - karo-tx-linux.git/commit
udp: Fix bogus UFO packet generation
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 15 Jun 2010 01:52:25 +0000 (01:52 +0000)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 26 Jun 2011 16:47:16 +0000 (12:47 -0400)
commit8d988d390bbfd5ede742e9cab66916cb372e7829
treef4fceb8c0496979595c55ad2b9266b03f6891f15
parentbbfbf1663c6a191f4020e3a6aadd0917dc0f0d8e
udp: Fix bogus UFO packet generation

commit 26cde9f7e2747b6d254b704594eed87ab959afa5 upstream.

It has been reported that the new UFO software fallback path
fails under certain conditions with NFS.  I tracked the problem
down to the generation of UFO packets that are smaller than the
MTU.  The software fallback path simply discards these packets.

This patch fixes the problem by not generating such packets on
the UFO path.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
net/ipv4/ip_output.c