]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: net: fix nexthop warning cleanup double ip typo
authorNikolay Aleksandrov <razor@blackwall.org>
Fri, 1 Apr 2022 15:54:27 +0000 (18:54 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Dec 2022 10:23:05 +0000 (11:23 +0100)
commit486535cf4837fd68f2fbb21abf3e8c3a81ff476a
tree3156fe50f70a6312c07dd95416acb57a6aeef296
parent5d8a7f4226fe6e728f278e6dde5a928cc9fa7440
selftests: net: fix nexthop warning cleanup double ip typo

[ Upstream commit 97ecd25c57c5aa33193c32c9f8f090500ab0d042 ]

I made a stupid typo when adding the nexthop route warning selftest and
added both $IP and ip after it (double ip) on the cleanup path. The
error doesn't show up when running the test, but obviously it doesn't
cleanup properly after it.

Fixes: f8abe3532c37 ("selftests: net: add delete nexthop route warning test")
Signed-off-by: Nikolay Aleksandrov <razor@blackwall.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Stable-dep-of: 5e8c3eafa040 ("ipv4: Fix route deletion when nexthop info is not specified")
Signed-off-by: Sasha Levin <sashal@kernel.org>
tools/testing/selftests/net/fib_nexthops.sh