]> git.baikalelectronics.ru Git - kernel.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)
commit475bc5684068b38f12bfef021aaf59c5b586fa43
tree85d2c18e462e7d95d354736eef4e126f1661d25c
parentfaba460b7f7f407adeb494dd7b185e2a3b63025a
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