diff options
author | Eric Dumazet <[email protected]> | 2013-12-11 08:10:05 -0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2013-12-11 16:10:14 -0500 |
commit | 610438b74496b2986a9025f8e23c134cb638e338 (patch) | |
tree | a04eec671093bb727ba8aacb8da6a289e6b77f45 /drivers/net/xen-netback/netback.c | |
parent | ce232ce01d61b184202bb185103d119820e1260c (diff) |
udp: ipv4: fix potential use after free in udp_v4_early_demux()
pskb_may_pull() can reallocate skb->head, we need to move the
initialization of iph and uh pointers after its call.
Fixes: 421b3885bf6d ("udp: ipv4: Add udp early demux")
Signed-off-by: Eric Dumazet <[email protected]>
Cc: Shawn Bohrer <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/netback.c')
0 files changed, 0 insertions, 0 deletions