summaryrefslogtreecommitdiffstats
path: root/sys/i386/i386
diff options
context:
space:
mode:
authorloos <loos@FreeBSD.org>2015-08-17 19:06:14 +0000
committerloos <loos@FreeBSD.org>2015-08-17 19:06:14 +0000
commit47eb9e91e4cef40c34486f99c1fe7584fc41e91c (patch)
tree4cad47b92a39c7611e37f20abb376f06bd3e0341 /sys/i386/i386
parent21e0cf5c4b7fda90cdb022c7c0494cf099287f59 (diff)
downloadFreeBSD-src-47eb9e91e4cef40c34486f99c1fe7584fc41e91c.zip
FreeBSD-src-47eb9e91e4cef40c34486f99c1fe7584fc41e91c.tar.gz
MFC r286260:
Remove the mtx_sleep() from the kqueue f_event filter. The filter is called from the network hot path and must not sleep. The filter runs with the descriptor lock held and does not manipulate the buffers, so it is not necessary sleep when the hold buffer is in use. Just ignore the hold buffer contents when it is being copied to user space (when hold buffer in use is set). This fix the "Sleeping thread owns a non-sleepable lock" panic when the userland thread is too busy reading the packets from bpf(4). PR: 200323 Sponsored by: Rubicon Communications (Netgate)
Diffstat (limited to 'sys/i386/i386')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud