diff options
author | Ido Schimmel <idosch@nvidia.com> | 2020-11-04 15:30:33 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-11-06 11:28:49 -0800 |
commit | 833a1065eeb14437a9a0dfa9dad06ea09894e0b5 (patch) | |
tree | 556409e1712616ad795a553fed8ff3b793bca1ca /net/ipv4/icmp.c | |
parent | f17bc33d7412bcca58825273d9f4abf84a87c4cb (diff) |
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 'net/ipv4/icmp.c')
0 files changed, 0 insertions, 0 deletions