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.29-rc4~24^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b5e56f9d635643ad54f2f42e69ad16b80a2cff1;p=pandora-kernel.git udp: Fix UDP short packet false positive 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 --- Reading git-diff-tree failed