]> git.baikalelectronics.ru Git - kernel.git/commit
cxgb4: Fix queue free path of ULD drivers
authorArjun Vynipadath <arjun@chelsio.com>
Thu, 15 Mar 2018 12:04:14 +0000 (17:34 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sat, 17 Mar 2018 21:20:03 +0000 (17:20 -0400)
commit9581e2afb7a10640fc8a5e795131aacac6a34e13
tree5fed920cbb9414f3f2a939032735caef124c07a7
parentb1c33cfe268b11745f1884de7ae1beb6f65ca125
cxgb4: Fix queue free path of ULD drivers

Setting sge_uld_rxq_info to NULL in free_queues_uld().
We are referencing sge_uld_rxq_info in cxgb_up(). This
will fix a panic when interface is brought up after a
ULDq creation failure.

Fixes: 781edc2e4515 (cxgb4: Add support for dynamic allocation
       of resources for ULD)
Signed-off-by: Arjun Vynipadath <arjun@chelsio.com>
Signed-off-by: Casey Leedom <leedom@chelsio.com>
Signed-off-by: Ganesh Goudhar <ganeshgr@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c