diff options
| author | David Gibson <david@gibson.dropbear.id.au> | 2025-04-15 17:16:20 +1000 |
|---|---|---|
| committer | Stefano Brivio <sbrivio@redhat.com> | 2025-04-15 19:45:09 +0200 |
| commit | 3f995586b35494b08631081fbf609ff932110849 (patch) | |
| tree | 1b8d2fcc5e4c740bd312f87a31e37e98cb6f505c /contrib | |
| parent | 1bb8145c221a9124ca1671e64b27de173ff2d82d (diff) | |
| download | passt-3f995586b35494b08631081fbf609ff932110849.tar passt-3f995586b35494b08631081fbf609ff932110849.tar.gz passt-3f995586b35494b08631081fbf609ff932110849.tar.bz2 passt-3f995586b35494b08631081fbf609ff932110849.tar.lz passt-3f995586b35494b08631081fbf609ff932110849.tar.xz passt-3f995586b35494b08631081fbf609ff932110849.tar.zst passt-3f995586b35494b08631081fbf609ff932110849.zip | |
udp: Pass socket & flow information direction to error handling functions
udp_sock_recverr() and udp_sock_errs() take an epoll reference from which
they obtain both the socket fd to receive errors from, and - for flow
specific sockets - the flow and side the socket is associated with.
We have some upcoming cases where we want to clear errors when we're not
directly associated with receiving an epoll event, so it's not natural to
have an epoll reference. Therefore, make these functions take the socket
and flow from explicit parameters.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions
