]> 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)
commita1550c15d353ea76803a61d2f0b6f1396a3ced40
tree4ca42b8cdacc32abcbc7873d82f16add4442952d
parent785b99ef30eb8928b975d57913d21edd0fb246f4
selftests: net: Test headroom handling of ip6_gre devices

Commit ebdc1ebd4d27 ("net: ip6_gre: Fix headroom request in
ip6erspan_tunnel_xmit()") and commit 0a538fe83f27 ("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]