summaryrefslogtreecommitdiff
path: root/include/net/rose.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/rose.h')
0 files changed, 0 insertions, 0 deletions
atch/net?id=5b7d616dbccc2fd6ae959045e1a9ca17de5dfc2a'>patch) treeaa71cb5a7eb9c65ba03cf47e494f8b15cae0d622 /net parent42d5aa76ec8fc9602922cc590a437ecd6693523b (diff)
ipv4: fib: Send notification before deleting FIB alias
When a FIB alias is replaced following NLM_F_REPLACE, the ENTRY_ADD notification is sent after the reference on the previous FIB info was dropped. This is problematic as potential listeners might need to access it in their notification blocks. Solve this by sending the notification prior to the deletion of the replaced FIB alias. This is consistent with ENTRY_DEL notifications. Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> CC: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/ipv4/fib_trie.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/net/ipv4/fib_trie.c b/net/ipv4/fib_trie.c