opnsense-src/sys/compat/linuxkpi/common/include
Konstantin Belousov 67dcd64ab8 linuxkpi: Do not leak pages on put.
When the owner of the wire reference releases the last reference, it
might be that the page was already attempted to be freed (but free
cannot be performed at that time due to wire).  Check that the page
was removed from the object as the indicator of the free attempt and
finish the free operation if so.

Reported and tested by:	Slava Shwartsman
Reviewed by:	hselasky
Sponsored by:	Mellanox Technologies
MFC after:	1 week
2018-02-13 15:44:35 +00:00
..
asm The LinuxKPI atomics do not have acquire nor release semantics unless 2017-09-18 13:37:14 +00:00
linux linuxkpi: Do not leak pages on put. 2018-02-13 15:44:35 +00:00
net Add full VNET support to the inet_get_local_port_range() function in 2017-03-22 15:46:31 +00:00