summaryrefslogtreecommitdiff
path: root/drivers/memstick
diff options
context:
space:
mode:
authorVincent <vincent.stehle@laposte.net>2016-08-14 15:38:29 +0200
committerDavid S. Miller <davem@davemloft.net>2016-08-14 21:32:05 -0700
commiteb8fc32354aa77678dc6e7950a8f0c79cace204f (patch)
tree618e26f1a138afe76804e4e215686ea1231c99cb /drivers/memstick
parent4cf0b354d92ee2c642532ee39e330f8f580fd985 (diff)
downloadlwn-eb8fc32354aa77678dc6e7950a8f0c79cace204f.tar.gz
lwn-eb8fc32354aa77678dc6e7950a8f0c79cace204f.zip
mlxsw: spectrum_router: Fix use after free
In mlxsw_sp_router_fib4_add_info_destroy(), the fib_entry pointer is used after it has been freed by mlxsw_sp_fib_entry_destroy(). Use a temporary variable to fix this. Fixes: 61c503f976b5449e ("mlxsw: spectrum_router: Implement fib4 add/del switchdev obj ops") Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net> Cc: Jiri Pirko <jiri@mellanox.com> Acked-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/memstick')
0 files changed, 0 insertions, 0 deletions