Home
last modified time | relevance | path

Searched hist:"7 b5e56f9d635643ad54f2f42e69ad16b80a2cff1" (Results 1 – 1 of 1) sorted by relevance

/linux/net/ipv4/
H A Dudp.cdiff 7b5e56f9d635643ad54f2f42e69ad16b80a2cff1 Fri Feb 06 00:05:45 CET 2009 Jesper Dangaard Brouer <hawk@comx.dk> 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 <hawk@comx.dk>
Signed-off-by: David S. Miller <davem@davemloft.net>