aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net
diff options
context:
space:
mode:
authorRahul Lakkireddy <rahul.lakkireddy@chelsio.com>2020-04-30 00:22:19 +0530
committerDavid S. Miller <davem@davemloft.net>2020-04-30 21:01:46 -0700
commit69422a7e5d578aab277091f4ebb7c1b387f3e355 (patch)
tree426d577afa15ae240a7d2c75a1652f81ffc78b04 /net
parentstmmac: intel: Fix kernel crash due to wrong error path (diff)
downloadwireguard-linux-69422a7e5d578aab277091f4ebb7c1b387f3e355.tar.xz
wireguard-linux-69422a7e5d578aab277091f4ebb7c1b387f3e355.zip
cxgb4: fix EOTID leak when disabling TC-MQPRIO offload
Under heavy load, the EOTID termination FLOWC request fails to get enqueued to the end of the Tx ring due to lack of credits. This results in EOTID leak. When disabling TC-MQPRIO offload, the link is already brought down to cleanup EOTIDs. So, flush any pending enqueued skbs that can't be sent outside the wire, to make room for FLOWC request. Also, move the FLOWC descriptor consumption logic closer to when the FLOWC request is actually posted to hardware. Fixes: 0e395b3cb1fb ("cxgb4: add FLOWC based QoS offload") Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions