]> 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)
commit146f63598b2a7b0cdd39ecb5afdbc849a608d310
treef3175bf4f8c2cf2c01ea2a75ee824c96378e516e
parent124db71228b7536c97310ac50807574c5c51c082
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