]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: Notify route if replacing currently offloaded one
authorIdo Schimmel <idosch@mellanox.com>
Mon, 23 Dec 2019 13:28:14 +0000 (15:28 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Dec 2019 06:37:29 +0000 (22:37 -0800)
commiteb48f4d9d66d39fbc9d279aaf1c20f64b478d602
treef54fafc19d8262b324178edf710ebeae6f2221dd
parent2c28d955fb90a0a92475413be5bf0f5a9e5273a9
ipv6: Notify route if replacing currently offloaded one

Similar to the corresponding IPv4 patch, only notify the new route if it
is replacing the currently offloaded one. Meaning, the one pointed to by
'fn->leaf'.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_fib.c