diff options
author | Bhasker Hariharan <bhaskerh@google.com> | 2020-10-27 18:11:46 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-10-27 18:13:46 -0700 |
commit | 24c33de748425e918033267313a4414b8ceb9727 (patch) | |
tree | f429c4a4ecb260936e9af0b09bec9a0466b869fc /pkg/tcpip/link/sharedmem/tx.go | |
parent | 1c2836da37261c47cb8372e3ae5a49adab369694 (diff) |
Wake up any waiters on an ICMP error on UDP socket.
This change wakes up any waiters when we receive an ICMP port unreachable
control packet on an UDP socket as well as sets waiter.EventErr in
the result returned by Readiness() when e.lastError is not nil.
The latter is required where an epoll()/poll() is done after the error
is already handled since we will never notify again in such cases.
PiperOrigin-RevId: 339370469
Diffstat (limited to 'pkg/tcpip/link/sharedmem/tx.go')
0 files changed, 0 insertions, 0 deletions