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-12 11:45:16 -08:00
2012-12-10 15:49:53 -05:00
2012-11-23 14:32:55 +01:00
2012-12-12 12:05:15 -08:00
2012-12-07 23:13:36 +01:00
2012-11-26 15:57:24 -08:00
2012-11-21 12:46:40 -08:00
2012-12-12 11:45:16 -08:00
2012-12-11 14:08:47 -08:00
2012-12-12 12:14:06 -08:00
2012-12-13 19:26:04 -08:00
2012-12-13 11:51:23 -08:00
2012-12-12 11:45:16 -08:00
2012-12-11 13:13:55 -08:00
2012-12-13 19:26:04 -08:00
2012-11-28 12:23:41 -08:00
2012-12-11 13:13:55 -08:00
2012-12-13 19:20:31 -08:00
2012-12-13 19:15:11 -08:00
2012-12-10 15:47:32 -05:00
2012-12-12 12:05:15 -08:00
2012-11-26 16:16:35 -08:00
2012-12-13 14:29:16 -08:00