opnsense-src/sys/compat
Mark Johnston 91a8054473 linux sendfile: Fix handling of non-blocking sockets
FreeBSD sendfile() may perform a partial transfer and return EAGAIN if
the socket is non-blocking.  Linux sendfile() expects no error in this
case, so squash EAGAIN.

PR:		282495
Tested by:	pieter@krikkit.xyz
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D47447

(cherry picked from commit a43b745aaf4f5bbc96875d2ab3ec9bea8024eda4)
2024-11-20 21:41:08 +00:00
..
freebsd32 Regen 2024-10-05 10:08:56 +03:00
ia32 sysentvec: add SV_SIGSYS flag 2023-10-09 06:24:31 +03:00
lindebugfs LinuxKPI/lindebugfs: stop panicing in lindebugfs, fix simple_read_from_buffer 2024-09-28 10:35:12 +00:00
linprocfs linprocfs: Avoid using a sysctl to get the CPU model string 2024-01-11 09:19:07 -05:00
linsysfs linsysfs(5): Remove sys/cdefs.h inclusion where it's not needed due to 685dc743 2023-08-18 13:12:02 +03:00
linux linux sendfile: Fix handling of non-blocking sockets 2024-11-20 21:41:08 +00:00
linuxkpi LinuxKPI: 802.11: improvements to (*ampdu_action)() callers 2024-11-14 01:53:12 +00:00
x86bios sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00