aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_out.c
diff options
context:
space:
mode:
authorYevgeny Petrilin <[email protected]>2012-08-03 00:38:37 +0000
committerDavid S. Miller <[email protected]>2012-08-03 16:49:02 -0700
commitc18520bd1b244fe8e3ac5358137321780a70d6e7 (patch)
tree99610de8cfed12e7be3ad2b7f03996e66b7ca8a0 /net/lapb/lapb_out.c
parentc8c40b7f32abe0878ee693480fb2f7453d80add5 (diff)
net/mlx4_en: Fixing TX queue stop/wake flow
Removing the ring->blocked flag, it is redundant and leads to a race: We close the TX queue and then set the "blocked" flag. Between those 2 operations the completion function can check the "blocked" flag, sees that it is 0, and wouldn't open the TX queue. Using netif_tx_queue_stopped to check the state of the queue to avoid this race. Signed-off-by: Yevgeny Petrilin <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions