diff options
author | Sowmini Varadhan <[email protected]> | 2017-06-21 13:40:13 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2017-06-22 11:34:04 -0400 |
commit | c14b0366813a8f6df7de181d8a333af7db6fb84e (patch) | |
tree | 25b75d4ca8004759f2da15b26f2cc5700e51becf /tools/perf/scripts/python/stackcollapse.py | |
parent | 69b92b5b7419846e2a0d61a097b11b17a089e046 (diff) |
rds: tcp: set linger to 1 when unloading a rds-tcp
If we are unloading the rds_tcp module, we can set linger to 1
and drop pending packets to accelerate reconnect. The peer will
end up resetting the connection based on new generation numbers
of the new incarnation, so hanging on to unsent TCP packets via
linger is mostly pointless in this case.
Signed-off-by: Sowmini Varadhan <[email protected]>
Tested-by: Jenny Xu <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions