freebsd-nq/sys/contrib
Cy Schubert 971fa117c0 Currently the fragment info is placed at the top of the linked list
under a shared read lock. This patch attempts to upgrade the lock to
an exclusive write lock. If the exclusive write lock fails to be
obtained, the current fragment is not placed at the head of the list.

This portion of the patch was inspired by NetBSD ip_frag.c r1.4 (which
effectively removed the section of code that performed the reordering).

The patch to sys/contrib/ipfilter/netinet/ip_compat.h adds the
MUTEX_TRY_UPGRADE macro to support the patch to ip_frag.c.

The patch to contrib/ipfilter/lib/rwlock_emul.c supports this patch
by emulating the mutex in userspace when exercised by ipftest(1).

Inspired by:	NetBSD ip_frag.c r1.4
MFC after:	1 month
2017-01-26 01:24:05 +00:00
..
alpine-hal Update Annapurna Alpine HAL 2016-09-20 09:19:22 +00:00
ck Merge CK as of commit 255a47553aa5e8d0bb5f8eec63acac7f4c25a6d8, mostly 2016-12-30 18:23:58 +00:00
cloudabi Sync in the latest CloudABI generated source files. 2017-01-17 22:03:08 +00:00
dev Add support for the Realtek RTL8192EU chipset. 2017-01-24 02:35:38 +00:00
ipfilter/netinet Currently the fragment info is placed at the top of the linked list 2017-01-26 01:24:05 +00:00
libfdt
libnv Fix style issue in the cnv API. 2016-08-27 13:40:27 +00:00
ncsw Simplify the page tracking for VA<->PA translations. 2016-11-16 05:24:42 +00:00
ngatm Fix the following -Werror warning from clang 3.5.0, while building 2014-11-19 07:47:37 +00:00
octeon-sdk Fix octeon model comparison in Cavium SDK 2016-10-13 17:16:32 +00:00
rdma/krping krping: Allow the underlying ib_device to handle DMA mappings. 2016-10-24 20:53:44 +00:00
v4l
vchiq/interface [vchi] replace non-reproducible __DATE__/__TIME__ with hardcoded string 2016-12-26 02:51:03 +00:00
x86emu Optimize ROL and ROR emulations and fix comments. 2016-02-18 23:03:37 +00:00
xz-embedded MFV r262756: 2014-03-05 01:33:15 +00:00