opnsense-src/sys/dev/iscsi
John Baldwin 314cb27995 mbuf: Don't force all M_EXTPG mbufs to be read-only
Some M_EXTPG mbufs are read-only (e.g. those backing sendfile
requests), but others are not.  Add a flags argument to
mb_alloc_ext_pgs that can be used to set M_RDONLY when needed rather
than setting it unconditionally.  Update mb_unmapped_to_ext to
preserve M_RDONLY from the unmapped mbuf.

Reviewed by:	gallatin
Differential Revision:	https://reviews.freebsd.org/D46783
2024-10-31 16:32:31 -04:00
..
icl.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
icl.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
icl_conn_if.m sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
icl_soft.c mbuf: Don't force all M_EXTPG mbufs to be read-only 2024-10-31 16:32:31 -04:00
icl_soft_proxy.c sockets: don't malloc/free sockaddr memory on accept(2) 2023-11-30 08:30:55 -08:00
icl_wrappers.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
iscsi.c iscsi: Check for copyout errors in iscsi_ioctl_daemon_receive() 2023-12-25 21:04:01 -05:00
iscsi.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
iscsi_ioctl.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
iscsi_proto.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00