Eric Dumazet 76fe45812a 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 <kirill@shutemov.name>
Tested-by: Daniel Borkmann <daniel.borkmann@tik.ee.ethz.ch>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-12-17 12:32:44 -08:00
..
2012-12-03 11:16:10 -08:00
2012-12-15 17:14:38 -08:00
2012-12-07 14:26:15 -05:00
2012-11-01 12:38:31 -04:00
2012-11-28 11:39:22 -05:00
2012-12-03 11:17:06 -08:00
2012-12-15 17:14:38 -08:00