diff options
author | Eric Dumazet <[email protected]> | 2012-12-17 04:39:20 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2012-12-17 12:32:44 -0800 |
commit | 76fe45812a3b134c39170ca32dfd4b7217d33145 (patch) | |
tree | 16b06e30c9e77aad14229f19fa84e73eefbaebb9 /lib/debugobjects.c | |
parent | df4841910758227cfc07ae645de781d687b3b215 (diff) |
tuntap: reset network header before calling skb_get_rxhash()
Commit 499744209b2c (tuntap: dont use skb after netif_rx_ni(skb))
introduced another bug.
skb_get_rxhash() needs to access the network header, and it was
set for us in netif_rx_ni().
We need to reset network header or else skb_flow_dissect() behavior
is out of control.
Reported-and-tested-by: Kirill A. Shutemov <[email protected]>
Tested-by: Daniel Borkmann <[email protected]>
Signed-off-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions