diff options
author | Brian Geffon <bgeffon@google.com> | 2018-11-27 17:47:16 -0800 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2018-11-27 17:48:05 -0800 |
commit | 5bd02b224fd0eb81fc028644137a24d0bbf7dab5 (patch) | |
tree | 995116d6614fe807f081832291f784dff4de2913 /pkg/tcpip/adapters | |
parent | 9e0f13237793897c805f75af163006049b37e784 (diff) |
Save shutdown flags first.
With rpcinet if shutdown flags are not saved before making
the rpc a race is possible where blocked threads are woken
up before the flags have been persisted. This would mean
that threads can block indefinitely in a recvmsg after a
shutdown(SHUT_RD) has happened.
PiperOrigin-RevId: 223089783
Change-Id: If595e7add12aece54bcdf668ab64c570910d061a
Diffstat (limited to 'pkg/tcpip/adapters')
0 files changed, 0 insertions, 0 deletions