Re: [PATCH net 2/7] net: ip6_gre: Fix headroom request in ip6erspan_tunnel_xmit()

2018-05-17 Thread Petr Machata
Fixes: e41c7c68ea77 ("ip6erspan: make sure enough headroom at xmit.")

Re: [PATCH net 2/7] net: ip6_gre: Fix headroom request in ip6erspan_tunnel_xmit()

2018-05-17 Thread William Tu
On Thu, May 17, 2018 at 7:36 AM, Petr Machata wrote: > dev->needed_headroom is not primed until ip6_tnl_xmit(), so it starts > out zero. Thus the call to skb_cow_head() fails to actually make sure > there's enough headroom to push the ERSPAN headers to. That can lead to > the panic cited below. (R