FROMLIST: ipv6: Initial skb->dev and skb->protocol in ip6_output
authorChenbo Feng <fengc@google.com>
Fri, 9 Jun 2017 19:06:07 +0000 (12:06 -0700)
committerChenbo Feng <fengc@google.com>
Fri, 16 Jun 2017 17:27:21 +0000 (10:27 -0700)
commit2c4f58af89edfb798e2212618a5c4337010dd431
tree8a644a250513dd33cc97c1d4f081809bc47b15bd
parentedb6da11b95c34269d21e99e3b738da1114bdb5f
FROMLIST: ipv6: Initial skb->dev and skb->protocol in ip6_output

Move the initialization of skb->dev and skb->protocol from
ip6_finish_output2 to ip6_output. This can make the skb->dev and
skb->protocol information avalaible to the CGROUP eBPF filter.

Signed-off-by: Chenbo Feng <fengc@google.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(url: http://patchwork.ozlabs.org/patch/774124/)
Bug: 30950746
Change-Id: Iac2304f7ba8cd769ee01a062cde2deb50562c3ad
net/ipv6/ip6_output.c