diff options
| author | Eric Dumazet <[email protected]> | 2016-12-03 11:14:51 -0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-12-05 13:32:22 -0500 |
| commit | 408f0a6c21e124cc4f6c7aa370b38aa47e55428d (patch) | |
| tree | 11a45f9e4e5cfd77e62d1363ad734e6fe753cd91 /include/linux/timerqueue.h | |
| parent | 40fc3423b983b864bf70b03199191260ae9b2ea6 (diff) | |
tcp: tsq: remove one locked operation in tcp_wfree()
Instead of atomically clear TSQ_THROTTLED and atomically set TSQ_QUEUED
bits, use one cmpxchg() to perform a single locked operation.
Since the following patch will also set TCP_TSQ_DEFERRED here,
this cmpxchg() will make this addition free.
Signed-off-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions