diff options
author | Ido Schimmel <idosch@mellanox.com> | 2017-02-09 10:28:39 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-10 11:32:12 -0500 |
commit | 42d5aa76ec8fc9602922cc590a437ecd6693523b (patch) | |
tree | 3ef1ce83d0b844ef93c902fe2624459618930a83 /net/can | |
parent | 58e3bdd59742feef680861acec19126e40e4fa8d (diff) |
ipv4: fib: Send deletion notification with actual FIB alias type
When a FIB alias is removed, a notification is sent using the type
passed from user space - can be RTN_UNSPEC - instead of the actual type
of the removed alias. This is problematic for listeners of the FIB
notification chain, as several FIB aliases can exist with matching
parameters, but the type.
Solve this by passing the actual type of the removed FIB alias.
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/can')
0 files changed, 0 insertions, 0 deletions