summaryrefslogtreecommitdiffstats
path: root/net/ipv4/route.c
diff options
context:
space:
mode:
authorKamal Heib <kamalh@mellanox.com>2016-09-20 13:55:31 +0200
committerDavid S. Miller <davem@davemloft.net>2016-09-22 07:41:27 +0200
commitfba1296624bf95fc07057da1e26beee8a733180c (patch)
tree9b296bfe850046f955b7e4ca3442e75c0289178a /net/ipv4/route.c
parentMerge tag 'wireless-drivers-for-davem-2016-09-20' of git://git.kernel.org/pub... (diff)
downloadlinux-fba1296624bf95fc07057da1e26beee8a733180c.tar.xz
linux-fba1296624bf95fc07057da1e26beee8a733180c.zip
net/mlx4_core: Fix to clean devlink resources
This patch cleans devlink resources by calling devlink_port_unregister() to avoid the following issues: - Kernel panic when triggering reset flow. - Memory leak due to unfreed resources in mlx4_init_port_info(). Fixes: 09d4d087cd48 ("mlx4: Implement devlink interface") Signed-off-by: Kamal Heib <kamalh@mellanox.com> Signed-off-by: Tariq Toukan <tariqt@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions