Re: [PATCH net-next] selftests: net: Test headroom handling of ip6_gre devices

2018-05-25 Thread Petr Machata
William Tu writes: >> +cleanup() >> +{ >> + ip link del dev swp1 >> + ip link del dev swp3 >> + ip link del dev vh3 > I think we also need to do: > ip link del dev gt6 gt6 is removed in test_headroom, but for early-break sort of scenarios I guess we do want to have it in cleanu

Re: [PATCH net-next] selftests: net: Test headroom handling of ip6_gre devices

2018-05-24 Thread William Tu
Hi Petr, I tried to test this patch on latest net-next but encounter a couple issues. On Wed, May 23, 2018 at 9:41 AM, Petr Machata wrote: > Commit 5691484df961 ("net: ip6_gre: Fix headroom request in > ip6erspan_tunnel_xmit()") and commit 01b8d064d58b ("net: ip6_gre: > Request headroom in __gre

[PATCH net-next] selftests: net: Test headroom handling of ip6_gre devices

2018-05-23 Thread Petr Machata
Commit 5691484df961 ("net: ip6_gre: Fix headroom request in ip6erspan_tunnel_xmit()") and commit 01b8d064d58b ("net: ip6_gre: Request headroom in __gre6_xmit()") fix problems in reserving headroom in the packets tunneled through ip6gre/tap and ip6erspan netdevices. These two patches included snipp