From: Eric Dumazet Date: Mon, 17 Dec 2012 04:39:20 +0000 (+0000) Subject: tuntap: reset network header before calling skb_get_rxhash() X-Git-Tag: v3.8-rc1~40^2~27 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76fe45812a3b134c39170ca32dfd4b7217d33145;p=pandora-kernel.git 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 Tested-by: Daniel Borkmann Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed