selftests: net: use upstream mtools
authorVladimir Oltean <vladimir.oltean@nxp.com>
Fri, 10 May 2024 11:28:56 +0000 (14:28 +0300)
committerJakub Kicinski <kuba@kernel.org>
Mon, 13 May 2024 20:54:33 +0000 (13:54 -0700)
commitcfc2eefd40f1bc121a41a2acd54458046d77f9ae
tree3d6566ac423737bc06f33263f763e88e7fbf9424
parentf37dc28ac6e2624afd7916faacea259f57f5ca82
selftests: net: use upstream mtools

Joachim kindly merged the IPv6 support in
https://github.com/troglobit/mtools/pull/2, so we can just use his
version now. A few more fixes subsequently came in for IPv6, so even
better.

Check that the deployed mtools version is 3.0 or above. Note that the
version check breaks compatibility with my fork where I didn't bump the
version, but I assume that won't be a problem.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Link: https://lore.kernel.org/r/20240510112856.1262901-1-vladimir.oltean@nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/forwarding/lib.sh