freebsd-dev/sys/net
Brian Somers a48de39daf Close a race where we were releasing the unit resource at the start
of tunclose() rather than the end, and tunopen() grabbed that unit
before tunclose() finished (one process is allocating it while another
is freeing it!).

It may be worth hanging some sort of rw mutex around all specinfo
calls where d_close and the detach handler get a write lock and all
other functions get a read lock.  This would guarantee certain levels
of ``atomicity'' (is that a word?) that people may expect (I believe
Solaris does something like this).
2001-06-20 10:06:28 +00:00
..
bpf_compat.h Small fix for bpf compat: 2000-12-27 22:20:13 +00:00
bpf_filter.c Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
bpf.c Fix bpf devices so select() recognizes that they are always writable. 2001-04-04 23:27:35 +00:00
bpf.h The advent of if_detach, allowing interface removal at runtime, makes it 2000-03-19 05:42:34 +00:00
bpfdesc.h Add mutexes to the entire bpf subsystem to make it MPSAFE. 2001-02-16 17:10:28 +00:00
bridge.c Remove unused variable 2001-06-15 07:31:15 +00:00
bridge.h MFS: bridge/ipfw/dummynet fixes (bridge.c will be committed separately) 2001-02-02 00:18:00 +00:00
bsd_comp.c Undo part of the tangle of having sys/lock.h and sys/mutex.h included in 2001-05-01 08:13:21 +00:00
ethernet.h Const'ify parameters to ethers(3) routines as appropriate. 2000-07-18 22:44:52 +00:00
fddi.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
hostcache.c Use <sys/queue.h> macro api rather than fondle its implementation detals. 2001-02-03 11:46:35 +00:00
hostcache.h Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
if_arp.h Make the ng_ether(4) node type dynamically loadable like the rest. 2000-06-26 23:34:54 +00:00
if_atm.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
if_atmsubr.c Fix warning; remove unused variable 2001-06-15 07:32:25 +00:00
if_disc.c This file was a horrible mixture of styles old and new. 2001-06-16 10:47:34 +00:00
if_dl.h The "sdl_family" field in a "struct sockaddr_dl" will be equal 2000-03-01 02:46:25 +00:00
if_ef.c Another round of the <sys/queue.h> FOREACH transmogriffer. 2001-02-04 16:08:18 +00:00
if_ethersubr.c Do not perform arp send/resolve on an interface marked NOARP. 2001-06-15 21:00:32 +00:00
if_faith.c Sync with recent KAME. 2001-06-11 12:39:29 +00:00
if_faith.h Sync with recent KAME. 2001-06-11 12:39:29 +00:00
if_fddisubr.c Do not perform arp send/resolve on an interface marked NOARP. 2001-06-15 21:00:32 +00:00
if_gif.c Suppress update ifnet.iflastchange when processing packets for SNMP 2001-06-19 15:53:51 +00:00
if_gif.h Sync with recent KAME. 2001-06-11 12:39:29 +00:00
if_ieee80211.h Currently, each wireless networking driver has it's own control program 2001-05-26 09:27:08 +00:00
if_iso88025subr.c Do not perform arp send/resolve on an interface marked NOARP. 2001-06-15 21:00:32 +00:00
if_llc.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
if_loop.c Sync with recent KAME. 2001-06-11 12:39:29 +00:00
if_media.c Currently, each wireless networking driver has it's own control program 2001-05-26 09:27:08 +00:00
if_media.h Currently, each wireless networking driver has it's own control program 2001-05-26 09:27:08 +00:00
if_mib.c Previous commit changing SYSCTL_HANDLER_ARGS violated KNF. 2000-07-04 11:25:35 +00:00
if_mib.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
if_ppp.c Quieten gcc. 2001-01-31 08:27:09 +00:00
if_ppp.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
if_pppvar.h Remove some #if NFOO > 0 that are always true because of config rules. 2000-01-29 16:56:24 +00:00
if_sl.c Exterminate the use of PSEUDO_SET() with extreme prejudice. 2001-01-31 07:58:58 +00:00
if_slvar.h The slip driver used to allocate a mbuf cluster without attaching 2000-08-18 08:02:31 +00:00
if_sppp.h Sync with recent KAME. 2001-06-11 12:39:29 +00:00
if_spppsubr.c Fix warning: 848: warning: label `nosupport' defined but not used 2001-06-15 07:33:09 +00:00
if_stf.c Sync with recent KAME. 2001-06-11 12:39:29 +00:00
if_stf.h sync with kame tree as of july00. tons of bug fixes/improvements. 2000-07-04 16:35:15 +00:00
if_tap.c Send the remains (such as I have located) of "block major numbers" to 2001-03-26 12:41:29 +00:00
if_tap.h Add the tap driver. 2000-07-20 17:01:10 +00:00
if_tapvar.h Change to support vmware... SIOCSIFADDR on the character device 2000-07-25 23:50:30 +00:00
if_tun.c Close a race where we were releasing the unit resource at the start 2001-06-20 10:06:28 +00:00
if_tun.h Implement TUN[GS]IFHEAD ioctls. Passing a non-zero int to TUNSIFHEAD 2000-01-23 01:47:12 +00:00
if_tunvar.h Support /dev/tun cloning. Ansify if_tun.c while I'm there. 2001-06-01 15:51:10 +00:00
if_types.h Add recently assigned interface types. 2001-04-04 14:18:57 +00:00
if_var.h Catch up to header include changes: 2001-03-28 09:17:56 +00:00
if_vlan_var.h Change the type of the VLAN interface from IFT_PROPVIRTUAL, 2001-04-04 15:10:58 +00:00
if_vlan.c Fix warning. s/char/unsigned char/ in "(char *)eth" 2001-06-15 07:34:29 +00:00
if.c Sync with recent KAME. 2001-06-11 12:39:29 +00:00
if.h o Move per-process jail pointer (p->pr_prison) to inside of the subject 2001-02-21 06:39:57 +00:00
intrq.c Insert entropy harvesting calls for network traffic. By 2001-02-18 17:54:52 +00:00
intrq.h Redo the intrq.c idea as 2000-01-27 23:37:39 +00:00
iso88025.h - Define payload length constants for 4Mbps and 16Mbps. 2001-03-18 05:41:07 +00:00
net_osdep.c Sync with recent KAME. 2001-06-11 12:39:29 +00:00
net_osdep.h Sync with recent KAME. 2001-06-11 12:39:29 +00:00
netisr.h Remove the last of the MD netisr code. It is now all MI. Remove 2000-12-05 00:36:00 +00:00
pfil.c Mechanical change to use <sys/queue.h> macro API instead of 2001-02-04 13:13:25 +00:00
pfil.h Replace nonexistent !defined(_LKM) by !defined(KLD_MODULE) 2000-08-01 00:40:32 +00:00
pfkeyv2.h Sync with recent KAME. 2001-06-11 12:39:29 +00:00
ppp_comp.h Remove bogus undocumented macros used to control conditional assembly. 2000-10-27 08:39:41 +00:00
ppp_deflate.c Undo part of the tangle of having sys/lock.h and sys/mutex.h included in 2001-05-01 08:13:21 +00:00
ppp_defs.h Sync with recent KAME. 2001-06-11 12:39:29 +00:00
ppp_tty.c * Rename M_WAIT mbuf subsystem flag to M_TRYWAIT. 2000-12-21 21:44:31 +00:00
radix.c Initialize rn_mklist in rn_newpair(). The undocumented assumption 2000-10-27 20:50:14 +00:00
radix.h A couple months ago, Kirk and I were doing a walkthrough of the radix-tree 2000-04-23 04:00:00 +00:00
raw_cb.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
raw_cb.h Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
raw_usrreq.c Move suser() and suser_xxx() prototypes and a related #define from 2000-10-29 16:06:56 +00:00
route.c When looking for an interface appropriate for the (new or changing) 2001-06-04 14:13:15 +00:00
route.h When a connection is being dropped due to a listen queue overflow, 2000-07-21 23:26:37 +00:00
rtsock.c Sync with recent KAME. 2001-06-11 12:39:29 +00:00
slcompress.c Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
slcompress.h Pass me the pointy hat. 2000-04-04 09:20:53 +00:00
slip.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
zlib.c Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00
zlib.h Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 04:46:21 +00:00