diff options
author | Vishal Kulkarni <vishal@chelsio.com> | 2019-10-30 15:47:57 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-10-31 02:11:13 +0100 |
commit | fc89cc358fb64e2429aeae0f37906126636507ec (patch) | |
tree | f12647418bda68d5c30bd285215c09f362ab6188 /drivers/net/hyperv | |
parent | net: annotate lockless accesses to sk->sk_napi_id (diff) | |
download | linux-fc89cc358fb64e2429aeae0f37906126636507ec.tar.xz linux-fc89cc358fb64e2429aeae0f37906126636507ec.zip |
cxgb4: fix panic when attaching to ULD fail
Release resources when attaching to ULD fail. Otherwise, data
mismatch is seen between LLD and ULD later on, which lead to
kernel panic when accessing resources that should not even
exist in the first place.
Fixes: 94cdb8bb993a ("cxgb4: Add support for dynamic allocation of resources for ULD")
Signed-off-by: Shahjada Abul Husain <shahjada@chelsio.com>
Signed-off-by: Vishal Kulkarni <vishal@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/hyperv')
0 files changed, 0 insertions, 0 deletions