From: Jesper Dangaard Brouer Date: Thu, 5 Feb 2009 23:05:45 +0000 (-0800) Subject: udp: Fix UDP short packet false positive X-Git-Tag: v2.6.27.18~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c55d86dc58c8e530d8cdff30e8529373dfa4804;p=pandora-kernel.git udp: Fix UDP short packet false positive [ Upstream commit 7b5e56f9d635643ad54f2f42e69ad16b80a2cff1 ] The UDP header pointer assignment must happen after calling pskb_may_pull(). As pskb_may_pull() can potentially alter the SKB buffer. This was exposted by running multicast traffic through the NIU driver, as it won't prepull the protocol headers into the linear area on receive. Signed-off-by: Jesper Dangaard Brouer Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed