]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
net/mlx4_en: fix error return code in mlx4_en_get_qp()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Tue, 7 Jan 2014 08:56:07 +0000 (16:56 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Jan 2014 20:42:52 +0000 (15:42 -0500)
commit9ba75fb0c4b92416b94640b5a043c323a457f14a
treece84265af6cd2ae358b21842adb10b3b045b77d6
parent4a8deae2f46533e7dd482615e9dfd224d4e97eb0
net/mlx4_en: fix error return code in mlx4_en_get_qp()

Fix to return a negative error code from the error handling
case instead of 0.

Fixes: 837052d0ccc5 ('net/mlx4_en: Add netdev support for TCP/IP offloads of vxlan tunneling')
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_netdev.c