opnsense-src/sys/compat
Mark Johnston 501e1152d2 linuxkpi: Fix an assertion in linux_free_kmem()
In the LinuxKPI, PAGE_MASK is the logical negation of FreeBSD's
PAGE_MASK, so the original assertion was simply incorrect.

Reported by:	trasz
Tested by:	trasz
Fixes:		6223d0b67af9 ("linuxkpi: Handle direct-mapped addresses in linux_free_kmem()")

(cherry picked from commit f88bd1174aab1aff7fea7241ab6e103e769d2d7a)
2023-10-24 09:20:12 -04:00
..
freebsd32 timerfd: Relocate 32-bit compat code 2023-09-17 09:01:59 -06:00
ia32 sysentvec: add SV_SIGSYS flag 2023-10-09 06:24:31 +03:00
lindebugfs sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
linprocfs linprocfs(5): Follow style(9), sort includes 2023-08-18 13:12:02 +03: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 netlink: move NETLINK define to opt_global.h 2023-10-16 09:42:33 +02:00
linuxkpi linuxkpi: Fix an assertion in linux_free_kmem() 2023-10-24 09:20:12 -04:00
x86bios sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00