diff options
| author | Ralf Lici <ralf@mandelbit.com> | 2025-10-21 12:09:41 +0200 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2025-10-23 15:46:04 +0200 |
| commit | 0fc3e32c2c069f541f2724d91f5e98480b640326 (patch) | |
| tree | 37537bcd93bd26cf7ce2b7de5f41e0337bbae822 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | |
| parent | f6ceec6434b5efff62cecbaa2ff74fc29b96c0c6 (diff) | |
espintcp: use datagram_poll_queue for socket readiness
espintcp uses a custom queue (ike_queue) to deliver packets to
userspace. The polling logic relies on datagram_poll, which checks
sk_receive_queue, which can lead to false readiness signals when that
queue contains non-userspace packets.
Switch espintcp_poll to use datagram_poll_queue with ike_queue, ensuring
poll only signals readiness when userspace data is actually available.
Fixes: e27cca96cd68 ("xfrm: add espintcp (RFC 8229)")
Signed-off-by: Ralf Lici <ralf@mandelbit.com>
Reviewed-by: Sabrina Dubroca <sd@queasysnail.net>
Link: https://patch.msgid.link/20251021100942.195010-3-ralf@mandelbit.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c')
0 files changed, 0 insertions, 0 deletions
