udp: Fix bogus UFO packet generation
commit69c74edcf1b62177aa882a9570493ab77129cc1d
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 15 Jun 2010 01:52:25 +0000 (15 01:52 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 9 May 2011 23:04:38 +0000 (9 16:04 -0700)
tree4851007560e34e3e2a42ca24d0aa2ff8af0f9048
parentc2c53e1b41a71f11b91e0c89b39a28356f5a0b4c
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>
Cc: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/ipv4/ip_output.c