]> git.baikalelectronics.ru Git - kernel.git/commit
ip6erspan: make sure enough headroom at xmit.
authorWilliam Tu <u9012063@gmail.com>
Fri, 9 Mar 2018 15:34:42 +0000 (07:34 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Mar 2018 18:03:57 +0000 (13:03 -0500)
commit7ae88993a4ec2c8c435dd6d9a0fdc1e2d1b67532
tree8746c5484cf7d7974183b3694f9f9376772faf86
parent3964efbb14e20083607dc30c2261dedffed89b83
ip6erspan: make sure enough headroom at xmit.

The patch adds skb_cow_header() to ensure enough headroom
at ip6erspan_tunnel_xmit before pushing the erspan header
to the skb.

Signed-off-by: William Tu <u9012063@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_gre.c