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: NStefano Brivio <sbrivio@redhat.com> Signed-off-by: NSabrina Dubroca <sd@queasysnail.net> Reviewed-by: NDavid Ahern <dsahern@gmail.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录