diff options
author | Arjun V <arjun@chelsio.com> | 2017-02-02 12:43:29 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-03 11:04:32 -0500 |
commit | 0d4b729dac35bb265533c79b554578a5ec6df384 (patch) | |
tree | d0ef95577db29d8607ca822a1dc1fad0ab37d324 /include/dt-bindings/clock/lsi,axm5516-clks.h | |
parent | 86bc8b310f1f323ccc9a311933e35d3442473034 (diff) |
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 'include/dt-bindings/clock/lsi,axm5516-clks.h')
0 files changed, 0 insertions, 0 deletions