]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
selftests: pmtu: Introduce check_pmtu_value()
authorStefano Brivio <sbrivio@redhat.com>
Mon, 8 Oct 2018 12:37:03 +0000 (14:37 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Oct 2018 18:00:23 +0000 (11:00 -0700)
commit1e0a720779531cd2860777534e3674b518ac0a69
tree85d2c18e462e7d95d354736eef4e126f1661d25c
parent062f97a314355c3f0021cfa1454726cfe12432fa
selftests: pmtu: Introduce check_pmtu_value()

Introduce and use a function that checks PMTU values against
expected values and logs error messages, to remove some clutter.

Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
Reviewed-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/pmtu.sh