summaryrefslogtreecommitdiff
path: root/drivers/net/vxlan.c
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@nvidia.com>2020-11-04 16:30:33 +0300
committerJakub Kicinski <kuba@kernel.org>2020-11-06 22:28:49 +0300
commit833a1065eeb14437a9a0dfa9dad06ea09894e0b5 (patch)
tree556409e1712616ad795a553fed8ff3b793bca1ca /drivers/net/vxlan.c
parentf17bc33d7412bcca58825273d9f4abf84a87c4cb (diff)
downloadlinux-833a1065eeb14437a9a0dfa9dad06ea09894e0b5.tar.xz
nexthop: Emit a notification when a nexthop group is reduced
When a single nexthop is deleted, the configuration of all the groups using the nexthop is effectively modified. In this case, emit a notification in the nexthop notification chain for each modified group so that listeners would not need to keep track of which nexthops are member in which groups. In the rare cases where the notification fails, emit an error to the kernel log. This is done by allocating extack on the stack and printing the error logged by the listener that rejected the notification. Changes since RFC: * Allocate extack on the stack Signed-off-by: Ido Schimmel <idosch@nvidia.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/vxlan.c')
0 files changed, 0 insertions, 0 deletions