freebsd-dev/sys/net
Gleb Smirnoff 4c506522c1 When removing ifnets, we should first remove the reference to ifnet
from the interface index, then decrease refcount, not vice versa.

Otherwise there is a race (reproducible) when if_free_internal()
contests on IFNET_WLOCK(), and we got a zero-refed ifnet in the
index for a long time. It may be picked by some other thread,
that runs ifnet_byindex_ref(), who takes the ifnet from index,
and bumps refcount. When reader drops the lock, if_free_internal()
proceeds with free. Then reader tries to free it a second time.
2011-04-04 07:45:08 +00:00
..
bpf_buffer.c o Swap descriptions for net.bpf.bufsize and net.bpf.maxbufsize. 2010-11-24 05:50:19 +00:00
bpf_buffer.h
bpf_filter.c
bpf_jitter.c
bpf_jitter.h
bpf_zerocopy.c Introduce and use a new VM interface for temporarily pinning pages. This 2010-12-25 21:26:56 +00:00
bpf_zerocopy.h
bpf.c Fix a typo in a comment. 2010-09-16 18:37:33 +00:00
bpf.h Sync DLTs with the latest pcap version. 2010-10-29 18:41:09 +00:00
bpfdesc.h Implement flexible BPF timestamping framework. 2010-06-15 19:28:44 +00:00
bridgestp.c
bridgestp.h
ethernet.h
fddi.h
firewire.h
flowtable.c - Restore dropping the priority of syncer down to PPAUSE when it is idle. 2011-01-06 22:17:07 +00:00
flowtable.h
ieee8023ad_lacp.c
ieee8023ad_lacp.h
if_arc.h
if_arcsubr.c
if_arp.h - Merge changes to the base system to support OFED. These include 2011-03-21 09:40:01 +00:00
if_atm.h
if_atmsubr.c
if_bridge.c Unbreak LINT by moving all carp hooks to net/if.c / netinet/ip_carp.h, with 2010-08-11 20:18:19 +00:00
if_bridgevar.h
if_clone.c After some off-list discussion, revert a number of changes to the 2010-11-22 19:32:54 +00:00
if_clone.h
if_dead.c
if_debug.c Factor out DDB commands from r204145, r204279 into if_debug.c for further 2010-10-25 08:30:19 +00:00
if_disc.c
if_dl.h
if_edsc.c
if_ef.c
if_enc.c sysctl(8) should use the CTLTYPE to determine the type of data when 2011-01-19 17:04:07 +00:00
if_enc.h
if_epair.c Add a missing ';' and change the debugging sysctl from xint to int. 2010-11-21 19:33:19 +00:00
if_ethersubr.c After some off-list discussion, revert a number of changes to the 2010-11-22 19:32:54 +00:00
if_faith.c
if_fddisubr.c
if_fwsubr.c
if_gif.c Hide the outer IP addresses of a tunnel interfaces (gif(4), gre(4)) 2011-03-02 21:39:08 +00:00
if_gif.h
if_gre.c Hide the outer IP addresses of a tunnel interfaces (gif(4), gre(4)) 2011-03-02 21:39:08 +00:00
if_gre.h
if_iso88025subr.c
if_lagg.c Fix a panic that can happen when trying to destroy a lagg(4) with scheduler set to none. 2011-03-04 20:37:38 +00:00
if_lagg.h
if_llatbl.c After some off-list discussion, revert a number of changes to the 2010-11-22 19:32:54 +00:00
if_llatbl.h - Merge changes to the base system to support OFED. These include 2011-03-21 09:40:01 +00:00
if_llc.h
if_loop.c After some off-list discussion, revert a number of changes to the 2010-11-22 19:32:54 +00:00
if_media.c Fix typos - remove duplicate "the". 2011-02-21 09:01:34 +00:00
if_media.h Teach ifconfig(8) the handy shared option shortcut aliases the NetBSD 2011-01-05 15:28:30 +00:00
if_mib.c
if_mib.h
if_sppp.h
if_spppfr.c
if_spppsubr.c
if_stf.c
if_stf.h
if_tap.c - Expand scope of tun/tap softc locks to cover more softc fields and 2010-09-22 21:02:43 +00:00
if_tap.h
if_tapvar.h
if_tun.c Only hide the ifa and not the tp under #ifdef INET as the tp is needed 2010-10-01 15:14:14 +00:00
if_tun.h
if_types.h - Merge changes to the base system to support OFED. These include 2011-03-21 09:40:01 +00:00
if_var.h - Merge changes to the base system to support OFED. These include 2011-03-21 09:40:01 +00:00
if_vlan_var.h - Merge changes to the base system to support OFED. These include 2011-03-21 09:40:01 +00:00
if_vlan.c - Merge changes to the base system to support OFED. These include 2011-03-21 09:40:01 +00:00
if.c When removing ifnets, we should first remove the reference to ifnet 2011-04-04 07:45:08 +00:00
if.h Adds IFF_CANTCONFIG to IFF_CANTCHANGE that it shouldn't happen through 2010-12-07 20:31:04 +00:00
iso88025.h
netisr_internal.h
netisr.c Mfp4 CH=177255: 2011-02-11 13:27:00 +00:00
netisr.h
pfil.c
pfil.h small portability fix to build on linux/windows 2010-07-15 14:41:06 +00:00
pfkeyv2.h
ppp_defs.h
radix_mpath.c
radix_mpath.h
radix.c whitespace cleanup 2010-07-15 14:41:59 +00:00
radix.h
raw_cb.c
raw_cb.h
raw_usrreq.c
route.c ouch, newrt is used on the return path, my fault. 2011-03-19 21:10:57 +00:00
route.h Remove dead code. 2011-03-20 08:35:00 +00:00
rtsock.c As info.rti_info[RTAX_DST] can point inside of rtm we must not free the rtm 2011-02-10 01:24:09 +00:00
slcompress.c
slcompress.h
vnet.c Remove unneeded includes of <sys/linker_set.h>. Other headers that use 2011-01-11 13:59:06 +00:00
vnet.h Mfp4 CH=177255: 2011-02-11 14:17:58 +00:00
zlib.c
zlib.h
zutil.h