1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00
freebsd/sys/net
Christian S.J. Peron 5632c9822a - Conditionally pickup Giant around the network interface
ioctl routines if we are running with !mpsafenet
- Change un-conditional Giant acquisition around ifpromisc
  to occur only if we are running with !mpsafenet

With these locking bits in place, we can now remove the Giant
requirement from BPF, so drop the D_NEEDGIANT device flag.
This change removes Giant acquisitions around BPF device
handlers (read, write, ioctl etc).

MFC after:	1 month
Discussed with:	rwatson
2007-06-15 02:53:51 +00:00
..
bpf_filter.c
bpf_jitter.c
bpf_jitter.h
bpf.c - Conditionally pickup Giant around the network interface 2007-06-15 02:53:51 +00:00
bpf.h Add three new ioctl(2) commands for bpf(4). 2007-02-26 22:24:14 +00:00
bpfdesc.h Add three new ioctl(2) commands for bpf(4). 2007-02-26 22:24:14 +00:00
bridgestp.c Properly move the setting of bstp_linkstate_p to the bridgestp module. 2007-03-14 20:55:51 +00:00
bridgestp.h Change the passing of callbacks to a struct in case this needs to be extended in the future. 2007-03-09 19:34:55 +00:00
bsd_comp.c
ethernet.h Sync ether_ioctl() with ioctl(2) and ifnet.if_ioctl 2007-05-29 12:40:45 +00:00
fddi.h
firewire.h
ieee8023ad_lacp.c non-functional cleanup 2007-06-12 07:29:11 +00:00
ieee8023ad_lacp.h non-functional cleanup 2007-06-12 07:29:11 +00:00
if_arc.h
if_arcsubr.c
if_arp.h
if_atm.h
if_atmsubr.c
if_bridge.c Add the vlan tag to the bridge route table. This allows a vlan trunk to be 2007-06-13 18:58:04 +00:00
if_bridgevar.h Add the vlan tag to the bridge route table. This allows a vlan trunk to be 2007-06-13 18:58:04 +00:00
if_clone.c
if_clone.h
if_disc.c Fix some statements in disc(4) and about it: 2007-03-26 09:10:28 +00:00
if_dl.h
if_edsc.c Give a hint that softc can contain many things besides ifp. 2007-03-26 09:05:10 +00:00
if_ef.c
if_enc.c Various bpf(4) related fixes to catch places up to the new bpf(4) 2006-12-29 13:59:50 +00:00
if_ethersubr.c Use if_capenable to allow LRO enabled drivers to bypass 2007-06-12 19:53:44 +00:00
if_faith.c
if_fddisubr.c
if_fwsubr.c Remove GIANT_REQUIRED for upcoming changes in FireWire stack. 2007-06-05 14:15:45 +00:00
if_gif.c
if_gif.h
if_gre.c
if_gre.h
if_iso88025subr.c
if_lagg.c non-functional cleanup 2007-06-12 07:29:11 +00:00
if_lagg.h non-functional cleanup 2007-06-12 07:29:11 +00:00
if_llc.h
if_loop.c Use __NO_STRICT_ALIGNMENT, instead of special casing ia64 and sparc64. 2007-02-09 00:09:35 +00:00
if_media.c
if_media.h Update 802.11 wireless support: 2007-06-11 03:36:55 +00:00
if_mib.c
if_mib.h
if_ppp.c Replace a suser() check with an explicit check for PRIV_NET_SETIFMTU. 2007-02-20 15:20:36 +00:00
if_ppp.h
if_pppvar.h
if_sl.c
if_slvar.h
if_sppp.h
if_spppfr.c
if_spppsubr.c Cast the ioctl define to the type of the variable being switched on. 2007-06-10 04:53:13 +00:00
if_stf.c
if_stf.h
if_tap.c Add a sysctl net.link.tap.up_on_open which defaults to zero; when it 2007-03-19 18:17:31 +00:00
if_tap.h
if_tapvar.h
if_tun.c Clean up after tun(4) properly; remove routes whose ifp is set to 2007-02-05 11:15:52 +00:00
if_tun.h
if_types.h Remove IPX over IP tunneling support, which allows IPX routing over IP 2007-06-13 14:01:43 +00:00
if_var.h The struct if_data members ifi_recvquota and ifi_xmitquota have been 2007-05-16 18:37:37 +00:00
if_vlan_var.h Prepare for 802.1p: 2007-02-28 22:05:30 +00:00
if_vlan.c Now <net/if_arp.h> is unused here. 2007-03-19 18:01:39 +00:00
if.c Update the comments on if_alloc(), if_free(), if_free_type(), and 2007-05-16 19:59:01 +00:00
if.h Add IFCAP_LRO flag for drivers to announce their TCP Large Receive Offload 2007-06-11 20:08:11 +00:00
iso88025.h
netisr.c
netisr.h
pfil.c
pfil.h Correct the definition of PFIL_HOOKED() so that it compares 2007-06-08 12:43:25 +00:00
pfkeyv2.h Integrate the Camellia Block Cipher. For more information see RFC 4132 2007-05-09 19:37:02 +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
route.c Add missing \n to printf 2007-06-11 12:19:34 +00:00
route.h
rtsock.c Fix regression in rev. 1.140. 2007-03-27 19:36:12 +00:00
slcompress.c
slcompress.h
slip.h
zlib.c
zlib.h