]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Jun 2017 19:07:56 +0000 (15:07 -0400)
commitec4a2943282a35b5e2774b210e9959c27b2173ad
tree57c7219022daefdf34fe84a408114322bffee709
parentd03ff49a9b0c0d892936b63b854cd077dcee0383
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>
net/ipv6/ip6_output.c