]> git.baikalelectronics.ru Git - kernel.git/commit
nexthop: Pass extack to register_nexthop_notifier()
authorIdo Schimmel <idosch@nvidia.com>
Wed, 4 Nov 2020 13:30:34 +0000 (15:30 +0200)
committerJakub Kicinski <kuba@kernel.org>
Fri, 6 Nov 2020 19:28:49 +0000 (11:28 -0800)
commita4f376e8c8beefebd77881f18bc64eb85a625e7c
treef3175bf4f8c2cf2c01ea2a75ee824c96378e516e
parent0b4117f23f6e70e29e7a929e1d951ee1d907117a
nexthop: Pass extack to register_nexthop_notifier()

This will be used by the next patch which extends the function to replay
all the existing nexthops to the notifier block being registered.

Device drivers will be able to pass extack to the function since it is
passed to them upon reload from devlink.

Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: David Ahern <dsahern@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/vxlan.c
include/net/nexthop.h
net/ipv4/nexthop.c