commit | bbb96bf2366e502fd16a8082f723c570e50269e8 | [log] [tgz] |
---|---|---|
author | Ursula Braun <ubraun@linux.vnet.ibm.com> | Wed Jan 24 10:28:16 2018 +0100 |
committer | David S. Miller <davem@davemloft.net> | Wed Jan 24 10:52:57 2018 -0500 |
tree | 529859340dd23cffd08c57ef5547790c92e1f0f2 | |
parent | 86e780d3a312faad967d2cfd5281f6bae81c0e55 [diff] |
net/smc: improve state change handling after close wait When a socket is closed or shutdown, smc waits for data being transmitted in certain states. If the state changes during this wait, the close switch depending on state should be reentered. In addition, state change is avoided if sending of close or shutdown fails. Signed-off-by: Ursula Braun <ubraun@linux.vnet.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>