HardenedBSD/sys/net
Gleb Smirnoff fadbb6f85a lagg: remove use of net epoch in the ioctl paths
Rely on LAGG_SLOCK() instead.  The use of network epoch(9) here was added
in 6573d7580b (later tidied by 87bf9b9cbe) as a large sweep that
blindly substituted blocking kernel primitives with epoch(9).  In these
particular code paths use of epoch(9) is incorrect and doesn't provide any
protection against a stale pointer.  Recent fix 48698ead6f, which should
actually have removed the epoch use, created a potential sleeping in epoch
problem.
2024-05-06 15:27:32 -07:00
..
altq
route
bpf_buffer.c
bpf_buffer.h
bpf_filter.c
bpf_jitter.c
bpf_jitter.h
bpf_zerocopy.c
bpf_zerocopy.h
bpf.c
bpf.h
bpfdesc.h
bridgestp.c
bridgestp.h
debugnet_inet.c
debugnet_int.h
debugnet.c
debugnet.h
dlt.h
ethernet.h
firewire.h
ieee8023ad_lacp.c
ieee8023ad_lacp.h
ieee_oui.h
if_arp.h
if_bridge.c
if_bridgevar.h
if_clone.c
if_clone.h
if_dead.c
if_disc.c
if_dl.h
if_edsc.c
if_enc.c
if_enc.h
if_epair.c
if_ethersubr.c
if_fwsubr.c
if_gif.c
if_gif.h
if_gre.c
if_gre.h
if_infiniband.c
if_ipsec.c
if_ipsec.h
if_lagg.c
if_lagg.h
if_llatbl.c
if_llatbl.h
if_llc.h
if_loop.c
if_me.c
if_media.c
if_media.h
if_mib.c
if_mib.h
if_ovpn.c
if_ovpn.h
if_pflog.h
if_pfsync.h
if_private.h
if_stf.c
if_stf.h
if_strings.h
if_tap.h
if_tun.h
if_tuntap.c
if_types.h
if_var.h
if_vlan_var.h
if_vlan.c
if_vxlan.c
if_vxlan.h
if.c
if.h
ifdi_if.m
iflib.c
iflib.h
ifq.c
ifq.h
infiniband.h
mp_ring.c
mp_ring.h
mppc.h
mppcc.c
mppcd.c
netisr_internal.h
netisr.c
netisr.h
netmap_legacy.h
netmap_user.h
netmap_virt.h
netmap.h
paravirt.h
pfil.c
pfil.h
pfkeyv2.h
pflow.h
pfvar.h
ppp_defs.h
radix.c
radix.h
rndis.h
route.c
route.h
rss_config.c
rss_config.h
rtsock.c
sff8436.h
sff8472.h
slcompress.c
slcompress.h
toeplitz.c
toeplitz.h
vnet.c
vnet.h