]> 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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 9 May 2011 22:54:51 +0000 (15:54 -0700)
commit548a4a8c2bffd5748f88aff92cea844a842535b8
treee9df45e61e5c1f8caf9f8e73fd156a4c9131601c
parent71447f832c6be2ab47ba6308aa9736073c36792c
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