freebsd-dev/sys
Gleb Smirnoff ae04d30451 ng_l2tp: use callout_reset() instead of ng_callout()
The previous commit to this node falsely stated that locked callouts
are compatible with netgraph ng_callout KPI.  They are not.  An item
can be queued instead of being applied to the node, which results in
a mutex leak to the callout thread and later unlocked call into function
that expects to be called locked.

Potentially netgraph can be taught to handle locked callouts, but that
would bring a lot of complexity in it.  Instead lets question necessity
of ng_callout() instead of callout_reset().  It protects against node
going away while callout is scheduled.  But a node that drains all
callouts in the shutdown method (ng_l2tp does) is already protected.

Fixes:	89042ff776
2021-12-03 08:57:23 -08:00
..
amd64 x86 GENERIC/MINIMAL: group sc(4) devices together 2021-11-28 14:38:41 -05:00
arm Implement GET_STACK_USAGE on remaining archs 2021-11-30 11:15:56 -04:00
arm64 arm64, powerpc: fix calculation of 'used' in GET_STACK_USAGE 2021-11-30 11:15:44 -04:00
bsm
cam cam: Initialize wired to false 2021-11-30 14:40:30 -07:00
cddl
compat syscalls: regen 2021-11-29 22:04:58 +00:00
conf Revert "wpa: Import wpa_supplicant/hostapd commit 14ab4a816" 2021-12-02 14:45:04 -08:00
contrib iwlwifi: import Intel's iwlwifi/mvm driver. 2021-11-28 19:17:04 +00:00
crypto aesni: plug a set-but-not-unused var in aesni_newsession 2021-11-24 16:25:50 +00:00
ddb
dev Suport Q-in-Q for mvneta. 2021-12-03 11:06:58 +01:00
dts
fs Revert "wpa: Import wpa_supplicant/hostapd commit 14ab4a816" 2021-12-02 14:45:04 -08:00
gdb
geom Implement GET_STACK_USAGE on remaining archs 2021-11-30 11:15:56 -04:00
gnu
i386 i386: take pcb and fpu area into account in GET_STACK_USAGE 2021-11-30 11:03:46 -04:00
isa
kern Expand comment explaining reasons for automatic swapoff on shutdown 2021-12-03 10:42:21 +02:00
kgssapi
libkern
mips Implement GET_STACK_USAGE on remaining archs 2021-11-30 11:15:56 -04:00
modules Revert "wpa: Import wpa_supplicant/hostapd commit 14ab4a816" 2021-12-02 14:45:04 -08:00
net Revert "wpa: Import wpa_supplicant/hostapd commit 14ab4a816" 2021-12-02 14:45:04 -08:00
net80211 net80211: fix -Wunused-but-set-variable warnings 2021-11-24 17:39:19 +00:00
netgraph ng_l2tp: use callout_reset() instead of ng_callout() 2021-12-03 08:57:23 -08:00
netinet tcp_drain(): initialize the inpcb iterator when curvnet is set 2021-12-02 21:08:30 -08:00
netinet6 Revert "wpa: Import wpa_supplicant/hostapd commit 14ab4a816" 2021-12-02 14:45:04 -08:00
netipsec netinet: Remove unneeded mb_unmapped_to_ext() calls 2021-11-24 13:31:16 -05:00
netpfil dummynet: Fix socket option length validation for IP_DUMMYNET3 2021-11-29 13:57:24 -05:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed
opencrypto
powerpc arm64, powerpc: fix calculation of 'used' in GET_STACK_USAGE 2021-11-30 11:15:44 -04:00
riscv Implement GET_STACK_USAGE on remaining archs 2021-11-30 11:15:56 -04:00
rpc
security vfs: remove the unused thread argument from NDINIT* 2021-11-25 22:50:42 +00:00
sys Revert "wpa: Import wpa_supplicant/hostapd commit 14ab4a816" 2021-12-02 14:45:04 -08:00
teken
tests
tools fw_stub: fix -Wunused-but-set-variable for firmware files 2021-11-30 14:23:18 +00:00
ufs vfs: remove the unused thread argument from NDINIT* 2021-11-25 22:50:42 +00:00
vm swapoff_one(): only check free pages count manually turning swap off 2021-11-29 18:38:02 +02:00
x86
xdr
xen
Makefile