diff options
author | Jesper Dangaard Brouer <hawk@comx.dk> | 2009-02-05 15:05:45 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-02-17 09:46:23 -0800 |
commit | 2c55d86dc58c8e530d8cdff30e8529373dfa4804 (patch) | |
tree | b39803e303380b7fe61bf674368f6e2ce9937ffc /mm/vmalloc.c | |
parent | 1ba7f7b70074e3989f2b6e24a3488d92dea25b97 (diff) |
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 <hawk@comx.dk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'mm/vmalloc.c')
0 files changed, 0 insertions, 0 deletions