]> git.karo-electronics.de Git - linux-beck.git/commit
dev: move skb_scrub_packet() after eth_type_trans()
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Tue, 13 Aug 2013 15:51:09 +0000 (17:51 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Aug 2013 08:00:20 +0000 (01:00 -0700)
commit64261f230a9157f5f520ce30ec6827d679375e2f
treed081ea17ad44da140522604454670f93f9015135
parentfc4eba58b4c1462ff3d6247b66fb47d6928db6d2
dev: move skb_scrub_packet() after eth_type_trans()

skb_scrub_packet() was called before eth_type_trans() to let eth_type_trans()
set pkt_type.

In fact, we should force pkt_type to PACKET_HOST, so move the call after
eth_type_trans().

Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c
net/ipv4/ip_tunnel.c