]> git.proxmox.com Git - mirror_ubuntu-focal-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)
commit99672eb6c63c5207e4e1a6283ec4fc46aafeb07c
tree4ca42b8cdacc32abcbc7873d82f16add4442952d
parent16572a48b46d9dbaa447501c058b4f74b62f09bd
selftests: net: Test headroom handling of ip6_gre devices

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 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]