diff options
author | Jesper Dangaard Brouer <hawk@comx.dk> | 2009-02-06 00:05:45 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-06 00:05:45 +0100 |
commit | 7b5e56f9d635643ad54f2f42e69ad16b80a2cff1 (patch) | |
tree | f0e3d35d01047375ea2eef5f8c99d9b96bc919ab /fs/qnx4/namei.c | |
parent | gianfar: Fix potential soft reset race (diff) | |
download | linux-7b5e56f9d635643ad54f2f42e69ad16b80a2cff1.tar.xz linux-7b5e56f9d635643ad54f2f42e69ad16b80a2cff1.zip |
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>
Diffstat (limited to 'fs/qnx4/namei.c')
0 files changed, 0 insertions, 0 deletions