aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/group.c
diff options
context:
space:
mode:
authorIoana Ciornei <[email protected]>2019-03-25 13:06:22 +0000
committerDavid S. Miller <[email protected]>2019-03-26 18:43:49 +0000
commit8c838f53e149871561a9261ac768a9c7071b43d0 (patch)
treea9d0da277442fb698f59afdc7f0b40901bb1c19e /net/tipc/group.c
parentchelsio: use BUG() instead of BUG_ON(1) (diff)
downloadkernel-8c838f53e149871561a9261ac768a9c7071b43d0.tar.gz
kernel-8c838f53e149871561a9261ac768a9c7071b43d0.zip
dpaa2-eth: fix race condition with bql frame accounting
It might happen that Tx conf acknowledges a frame before it was subscribed in bql, as subscribing was previously done after the enqueue operation. This patch moves the netdev_tx_sent_queue call before the actual frame enqueue, so that this can never happen. Fixes: 569dac6a5a0d ("dpaa2-eth: bql support") Signed-off-by: Ioana Ciornei <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc/group.c')
0 files changed, 0 insertions, 0 deletions