diff options
author | Ido Schimmel <idosch@nvidia.com> | 2020-11-04 14:30:32 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-11-06 20:28:49 +0100 |
commit | f17bc33d7412bcca58825273d9f4abf84a87c4cb (patch) | |
tree | 8102ab98da045a8ab5e95f237c5020ff58d84a75 /include/crypto | |
parent | nexthop: Emit a notification when a single nexthop is replaced (diff) | |
download | linux-f17bc33d7412bcca58825273d9f4abf84a87c4cb.tar.xz linux-f17bc33d7412bcca58825273d9f4abf84a87c4cb.zip |
nexthop: Emit a notification when a nexthop group is modified
When a single nexthop is replaced, 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.
The notification can only be emitted after the new configuration (i.e.,
'struct nh_info') is pointed at by the old shell (i.e., 'struct
nexthop'). Before that the configuration of the nexthop groups is still
the same as before the replacement.
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: David Ahern <dsahern@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/crypto')
0 files changed, 0 insertions, 0 deletions