diff options
author | Jesper Dangaard Brouer <hawk@comx.dk> | 2009-02-06 10:59:12 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-06 10:59:12 +0100 |
commit | 2783ef23128ad0a4b34e4121c1f7ff664785712f (patch) | |
tree | 1e0ada9b370ffc967b138dfb7d7c5464a0d4f438 /kernel/time | |
parent | neigh: some entries can be skipped during dumping (diff) | |
download | linux-2783ef23128ad0a4b34e4121c1f7ff664785712f.tar.xz linux-2783ef23128ad0a4b34e4121c1f7ff664785712f.zip |
udp: Fix potential wrong ip_hdr(skb) pointers
Like the UDP header fix, pskb_may_pull() can potentially
alter the SKB buffer. Thus the saddr and daddr, pointers
may point to the old skb->data buffer.
I haven't seen corruptions, as its only seen if the old
skb->data buffer were reallocated by another user and
written into very quickly (or poison'd by SLAB debugging).
Signed-off-by: Jesper Dangaard Brouer <hawk@comx.dk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/time')
0 files changed, 0 insertions, 0 deletions