]> git.baikalelectronics.ru Git - kernel.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)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Jun 2010 20:57:34 +0000 (13:57 -0700)
commit9de8b7024b3f1ac292994c5913be7503147cc56f
treeebb84a0ca60dd14801e9d398ee950c2527260c16
parent969083d6c16c369210a2597fb186345fc64abb87
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