aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx5/core/Kconfig
diff options
context:
space:
mode:
authorGal Pressman <galp@mellanox.com>2016-05-01 22:59:54 +0300
committerDavid S. Miller <davem@davemloft.net>2016-05-03 13:37:25 -0400
commit5f8a02a441b861fd3b1b5135a1a6e1c13ee4bb33 (patch)
tree3851fc58ba67d794496eea18d18868736fe9ba0c /drivers/net/ethernet/mellanox/mlx5/core/Kconfig
parentnetem: Segment GSO packets on enqueue (diff)
downloadlinux-dev-5f8a02a441b861fd3b1b5135a1a6e1c13ee4bb33.tar.xz
linux-dev-5f8a02a441b861fd3b1b5135a1a6e1c13ee4bb33.zip
net/mlx5: Unmap only the relevant IO memory mapping
When freeing UAR the driver tries to unmap uar->map and uar->bf_map which are mutually exclusive thus always unmapping a NULL pointer. Make sure we only call iounmap() once, for the actual mapping. Fixes: 0ba422410bbf ('net/mlx5: Fix global UAR mapping') Signed-off-by: Gal Pressman <galp@mellanox.com> Reported-by: Doron Tsur <doront@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions