OSDN Git Service

selftests: pmtu: Move route installs to a new function
authorDavid Ahern <dsahern@gmail.com>
Sat, 8 Jun 2019 21:53:37 +0000 (14:53 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Jun 2019 17:44:57 +0000 (10:44 -0700)
commitf4ca0c341ce03e4a170c4d4535dc6f8e86a8b5e3
treee75b4c2524ea7fae9b5ee80991ed4fe389e06bb9
parent243781dba7907d0f61b4f6da50c2f6f9ecc43186
selftests: pmtu: Move route installs to a new function

Move the route add commands to a new function called setup_routing_old.
The '_old' refers to the classic way of installing routes.

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