1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00
freebsd/sys/net
Robert Watson 5e71a73b7b Lock down global variables in if_tap (primarily, the tap softc list);
add tapmtx, which protects globale variables.

Notes:

- The EBUSY check in MOD_UNLOAD may be subject to a race.  Moving the
  event handler unregister inside the mutex grab may prevent that race.

- Locking of global variables safely is now possible because tapclones
  is only modified when the module is loading or unloading, thanks to
  phk's recent chang to clone_setup().

- softc locking to follow.
2004-03-15 01:52:00 +00:00
..
bpf_compat.h
bpf_filter.c
bpf.c Grab Giant after MAC processing on outgoing packets being sent via 2004-02-29 15:32:33 +00:00
bpf.h Tweak existing header and other build infrastructure to be able to build 2004-02-26 03:53:54 +00:00
bpfdesc.h Define BPFD_LOCK_ASSERT() to assert the BPF descriptor lock. 2004-02-29 15:33:56 +00:00
bridge.c Re-remove MT_TAGs. The problems with dummynet have been fixed now. 2004-02-25 19:55:29 +00:00
bridge.h
bsd_comp.c
ethernet.h
fddi.h
if_arc.h
if_arcsubr.c
if_arp.h
if_atm.h Add a device type for virtual interfaces. 2004-01-26 12:13:11 +00:00
if_atmsubr.c
if_disc.c Introduce disc_mtx to protect the global softc list in if_disc. 2004-03-09 16:31:19 +00:00
if_dl.h
if_ef.c
if_ethersubr.c Announce ethernet MAC addresss in ether_ifattach(). 2004-03-14 07:12:25 +00:00
if_faith.c Introduce faith_mtx to protect the if_faith global softc list. 2004-03-09 19:23:06 +00:00
if_fddisubr.c Handle AF_ARP in *_output() 2004-03-14 05:24:54 +00:00
if_gif.c
if_gif.h
if_gre.c Remove NetBSD'isms (add FreeBSD'isms?), which makes gre(4) working again. 2004-01-30 09:03:01 +00:00
if_gre.h Add support for WCCPv2. It should be enablem manually using link2 2004-01-26 12:33:56 +00:00
if_iso88025subr.c Handle AF_ARP in *_output() 2004-03-14 05:24:54 +00:00
if_llc.h
if_loop.c Introduce lo_mtx to protect the global loopback softc list. I'm not 2004-03-09 17:27:48 +00:00
if_media.c
if_media.h Add an ATM sub-type for virtual interfaces. 2004-01-26 11:52:32 +00:00
if_mib.c
if_mib.h
if_ppp.c Don't leak softc's when destroying interfaces. 2004-01-21 18:05:38 +00:00
if_ppp.h
if_pppvar.h
if_sl.c
if_slvar.h
if_sppp.h
if_spppsubr.c Compare spppq to NULL instead of using spppq as a boolean. 2004-03-14 01:32:44 +00:00
if_stf.c Introduce stf_mtx to protect global softc list in if_stf. Add 2004-03-09 20:29:19 +00:00
if_stf.h
if_tap.c Lock down global variables in if_tap (primarily, the tap softc list); 2004-03-15 01:52:00 +00:00
if_tap.h
if_tapvar.h Remove stale (unused) unit variables from if_tun and if_tap softc's. 2004-03-13 05:51:06 +00:00
if_tun.c Remove stale (unused) unit variables from if_tun and if_tap softc's. 2004-03-13 05:51:06 +00:00
if_tun.h
if_types.h Tweak existing header and other build infrastructure to be able to build 2004-02-26 03:53:54 +00:00
if_var.h Remove if_withname. It came in with the KAME import, but never got 2004-03-13 02:31:40 +00:00
if_vlan_var.h
if_vlan.c
if.c Don't allow interfaces to be renamed to the empty string. 2004-03-13 02:35:03 +00:00
if.h
iso88025.h
net_osdep.c
net_osdep.h
netisr.c
netisr.h
pfil.c
pfil.h
pfkeyv2.h Initial import of RFC 2385 (TCP-MD5) digest support. 2004-02-11 04:26:04 +00:00
ppp_comp.h
ppp_deflate.c
ppp_defs.h
ppp_tty.c
radix.c
radix.h
raw_cb.c
raw_cb.h
raw_usrreq.c Rename dup_sockaddr() to sodupsockaddr() for consistency with other 2004-03-01 03:14:23 +00:00
route.c
route.h
rtsock.c
slcompress.c
slcompress.h
slip.h
zlib.c
zlib.h