]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: Refactor ip6_route_del for cached routes
authorDavid Ahern <dsahern@gmail.com>
Thu, 23 May 2019 03:28:00 +0000 (20:28 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 May 2019 20:26:44 +0000 (13:26 -0700)
commit012927fa7bee687846fbe47b58ed41ccd601c16b
treeb92bf370a2f8db1ac26fae30d4113e4e4bbea24a
parent1e3db0a0fe2680cdacee79cc0856f8aae95a4b3b
ipv6: Refactor ip6_route_del for cached routes

Move the removal of cached routes to a helper, ip6_del_cached_rt, that
can be invoked per nexthop. Rename the existig ip6_del_cached_rt to
__ip6_del_cached_rt since it is called by ip6_del_cached_rt.

Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/route.c