commit | ec94c2696f0bcd5ae92a553244e4ac30d2171a2d | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Mon Dec 11 21:25:12 2017 -0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Dec 13 14:33:10 2017 -0500 |
tree | 1a9eebba8042da0292f583f778abbe72974cc2a2 | |
parent | 1e7570117575360504e632d0c31d6b52d3d7ea9c [diff] |
tcp/dccp: avoid one atomic operation for timewait hashdance First, rename __inet_twsk_hashdance() to inet_twsk_hashdance() Then, remove one inet_twsk_put() by setting tw_refcnt to 3 instead of 4, but adding a fat warning that we do not have the right to access tw anymore after inet_twsk_hashdance() Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>