dev: remove duplicate 'skb->dev = dev' in dev_forward_skb()
commit57b354e66b67c4c72468a26d4313d1217ef32e17
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Thu, 16 May 2013 23:36:32 +0000 (16 23:36 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 18 May 2013 01:23:08 +0000 (17 18:23 -0700)
treeec1f61d50f7e50a116d42d9dff6288e152537591
parentb103f358d9f6f58658f1a6dc08912ab921dd86f1
dev: remove duplicate 'skb->dev = dev' in dev_forward_skb()

This was added by commit 59b9997baba5 (Revert "net: maintain namespace
isolation between vlan and real device").
In fact, before the initial commit - the one that is reverted -, this
statement was not present.
'skb->dev = dev' is already done in eth_type_trans(), which is call just
after.

Spotted-by: Alain Ritoux <alain.ritoux@6wind.com>
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c