Re: [PATCH net-next] selftests: net: Introduce first PMTU test

2018-03-06 Thread Stefano Brivio
On Mon, 5 Mar 2018 22:26:42 -0700 David Ahern wrote: > On 3/5/18 3:45 PM, Stefano Brivio wrote: > > diff --git a/tools/testing/selftests/net/pmtu.sh > > b/tools/testing/selftests/net/pmtu.sh > > new file mode 100755 > > index ..eb186ca3e5e4 > > --- /dev/null > >

Re: [PATCH net-next] selftests: net: Introduce first PMTU test

2018-03-05 Thread David Ahern
On 3/5/18 3:45 PM, Stefano Brivio wrote: > diff --git a/tools/testing/selftests/net/pmtu.sh > b/tools/testing/selftests/net/pmtu.sh > new file mode 100755 > index ..eb186ca3e5e4 > --- /dev/null > +++ b/tools/testing/selftests/net/pmtu.sh > @@ -0,0 +1,159 @@ > +#!/bin/sh > +#

[PATCH net-next] selftests: net: Introduce first PMTU test

2018-03-05 Thread Stefano Brivio
One single test implemented so far: test_pmtu_vti6_exception checks that the PMTU of a route exception, caused by a tunnel exceeding the link layer MTU, is affected by administrative changes of the tunnel MTU. Creation of the route exception is checked too. Requested-by: David Ahern