udp: Fix bogus UFO packet generation
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 15 Jun 2010 01:52:25 +0000 (01:52 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Jun 2010 20:57:34 +0000 (13:57 -0700)
commit26cde9f7e2747b6d254b704594eed87ab959afa5
treeebb84a0ca60dd14801e9d398ee950c2527260c16
parent13fea6d4f73942e6961aec97ba4c593619d18f6f
udp: Fix bogus UFO packet generation

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>
net/ipv4/ip_output.c