]> git.baikalelectronics.ru Git - kernel.git/commit
Remove the redundant skb->dev initialization in ip6_fragment
authorChenbo Feng <fengc@google.com>
Sat, 10 Jun 2017 19:35:38 +0000 (12:35 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 10 Jun 2017 20:25:21 +0000 (16:25 -0400)
commit93f6652999114377acf2e2cdcf415dafd537de21
tree6ee4ece2d533f62d11132dd0eaa3307bcd4875f6
parentfc0c2a0aa2bf0c5c1857c48ae5f824ea2aa2abbc
Remove the redundant skb->dev initialization in ip6_fragment

After moves the skb->dev and skb->protocol initialization into
ip6_output, setting the skb->dev inside ip6_fragment is unnecessary.

Fixes: cbcfb3f4a08a("ipv6: Initial skb->dev and skb->protocol in ip6_output")
Signed-off-by: Chenbo Feng <fengc@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_output.c