]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: net: Test headroom handling of ip6_gre devices
authorPetr Machata <petrm@mellanox.com>
Mon, 25 Jun 2018 14:43:55 +0000 (16:43 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Jun 2018 14:03:01 +0000 (23:03 +0900)
commit81d6b1fda82d1083f49b79505b3535867d00f734
tree4ca42b8cdacc32abcbc7873d82f16add4442952d
parent483bbd25748f74dc69cf3f06311f33f87b10a7e8
selftests: net: Test headroom handling of ip6_gre devices

Commit 92995ed364db ("net: ip6_gre: Fix headroom request in
ip6erspan_tunnel_xmit()") and commit e694024c0abd ("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 snippets that reproduced the issues. This
patch elevates the snippets to a full-fledged test case.

Suggested-by: David Miller <davem@davemloft.net>
Signed-off-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/ip6_gre_headroom.sh [new file with mode: 0755]