aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/atheros/atl1e/atl1e_main.c
diff options
context:
space:
mode:
authorArjun V <arjun@chelsio.com>2017-02-02 12:43:29 +0530
committerDavid S. Miller <davem@davemloft.net>2017-02-03 11:04:32 -0500
commit0d4b729dac35bb265533c79b554578a5ec6df384 (patch)
treed0ef95577db29d8607ca822a1dc1fad0ab37d324 /drivers/net/ethernet/atheros/atl1e/atl1e_main.c
parentsfc-falcon: get rid of custom busy polling code (diff)
downloadlinux-dev-0d4b729dac35bb265533c79b554578a5ec6df384.tar.xz
linux-dev-0d4b729dac35bb265533c79b554578a5ec6df384.zip
cxgb4: Fix uld_send() for ctrl pkts
Without any uld being loaded, uld_txq_info[] will be NULL. uld_send() is also used for sending control work requests(for eg: setting filter) that dont require any ulds to be loaded. Hence move uld_txq_info[] assignment after ctrl_xmit(). Also added a NULL check for uld_txq_info[]. Fixes: 94cdb8bb993a (cxgb4: Add support for dynamic allocation of resources for ULD). Signed-off-by: Arjun V <arjun@chelsio.com> Signed-off-by: Casey Leedom <leedom@chelsio.com> Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/atheros/atl1e/atl1e_main.c')
0 files changed, 0 insertions, 0 deletions