mlx4_core: fix mtt range deallocation
The mtt range was allocated in mtt units but deallocated in segments. Among the rest, this caused crash during hotplug removal Reported-by: NYinghai Lu <yinghai@kernel.org> Signed-off-by: NMarcel Apfelbaum <marcela@mellanox.co.il> Reviewed-by: NJack Morgenstein <jackm@dev.mellanox.co.il> Tested-by: NYinghai Lu <yinghai@kernel.org> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录