freebsd-skq/sys/netinet6
rwatson 482bfeab47 Remove NETISR_MPSAFE, which allows specific netisr handlers to be directly
dispatched without Giant, and add NETISR_FORCEQUEUE, which allows specific
netisr handlers to always be dispatched via a queue (deferred).  Mark the
usb and if_ppp netisr handlers as NETISR_FORCEQUEUE, and explicitly
acquire Giant in those handlers.

Previously, any netisr handler not marked NETISR_MPSAFE would necessarily
run deferred and with Giant acquired.  This change removes Giant
scaffolding from the netisr infrastructure, but NETISR_FORCEQUEUE allows
non-MPSAFE handlers to continue to force deferred dispatch so as to avoid
lock order reversals between their acqusition of Giant and any calling
context.

It is likely we will be able to remove NETISR_FORCEQUEUE once
IFF_NEEDSGIANT is removed, as non-MPSAFE usb and if_ppp drivers will no
longer be supported.

Reviewed by:	bz
MFC after:	1 month
X-MFC note:	We can't remove NETISR_MPSAFE from stable/7 for KPI reasons,
		but the rest can go back.
2008-07-04 00:21:38 +00:00
..
dest6.c Clean up VCS Ids. 2007-12-10 16:03:40 +00:00
frag6.c Remove GIANT_REQUIRED from IPv6 input, forward, and frag6 code. The frag6 2008-07-03 10:55:13 +00:00
icmp6.c In ICMPv6, read lock rather than write lock the inpcb on receive. 2008-04-21 12:08:40 +00:00
icmp6.h
in6_cksum.c Clean up VCS Ids. 2007-12-10 16:03:40 +00:00
in6_gif.c Clean up VCS Ids. 2007-12-10 16:03:40 +00:00
in6_gif.h Clean up VCS Ids. 2007-12-10 16:03:40 +00:00
in6_ifattach.c Add code to allow the system to handle multiple routing tables. 2008-05-09 23:03:00 +00:00
in6_ifattach.h Clean up VCS Ids. 2007-12-10 16:03:40 +00:00
in6_pcb.c When querying a local or remote address on an IPv6 socket, use only a 2008-04-19 14:36:19 +00:00
in6_pcb.h Clean up VCS Ids. 2007-12-10 16:03:40 +00:00
in6_proto.c This patch provides the back end support for equal-cost multi-path 2008-04-13 05:45:14 +00:00
in6_rmx.c Repair botched variable rename. 2008-06-29 04:33:45 +00:00
in6_src.c Convert pcbinfo and inpcb mutexes to rwlocks, and modify macros to 2008-04-17 21:38:18 +00:00
in6_var.h Clean up VCS Ids. 2007-12-10 16:03:40 +00:00
in6.c Add code to allow the system to handle multiple routing tables. 2008-05-09 23:03:00 +00:00
in6.h Clean up VCS Ids. 2007-12-10 16:03:40 +00:00
ip6_ecn.h Clean up VCS Ids. 2007-12-10 16:03:40 +00:00
ip6_forward.c Remove GIANT_REQUIRED from IPv6 input, forward, and frag6 code. The frag6 2008-07-03 10:55:13 +00:00
ip6_id.c Clean up VCS Ids. 2007-12-10 16:03:40 +00:00
ip6_input.c Remove NETISR_MPSAFE, which allows specific netisr handlers to be directly 2008-07-04 00:21:38 +00:00
ip6_ipsec.c Try to fix errors introduced in svn180085/cvs rev. 1.10: 2008-06-29 07:34:21 +00:00
ip6_ipsec.h #if 0 out a currently unsued (and incomplete) function: ip6_ipsec_mtu(). 2008-03-14 11:44:30 +00:00
ip6_mroute.c un-__P() 2008-01-08 19:08:58 +00:00
ip6_mroute.h Clean up VCS Ids. 2007-12-10 16:03:40 +00:00
ip6_output.c Replaced the misleading uses of a historical artefact M_TRYWAIT with M_WAIT. 2008-03-25 09:39:02 +00:00
ip6_var.h Factor out the v4-only vs. the v6-only inp_flags processing in 2008-05-24 15:20:48 +00:00
ip6.h
ip6protosw.h Clean up VCS Ids. 2007-12-10 16:03:40 +00:00
mld6_var.h Clean up VCS Ids. 2007-12-10 16:03:40 +00:00
mld6.c un-__P() 2008-01-08 19:08:58 +00:00
nd6_nbr.c This patch provides the back end support for equal-cost multi-path 2008-04-13 05:45:14 +00:00
nd6_rtr.c Add code to allow the system to handle multiple routing tables. 2008-05-09 23:03:00 +00:00
nd6.c un-__P() 2008-01-08 19:08:58 +00:00
nd6.h Clean up VCS Ids. 2007-12-10 16:03:40 +00:00
pim6_var.h Clean up VCS Ids. 2007-12-10 16:03:40 +00:00
pim6.h Clean up VCS Ids. 2007-12-10 16:03:40 +00:00
raw_ip6.c With IPv4 raw sockets, read lock rather than write lock the inpcb when 2008-04-21 12:06:41 +00:00
raw_ip6.h Clean up VCS Ids. 2007-12-10 16:03:40 +00:00
route6.c Clean up VCS Ids. 2007-12-10 16:03:40 +00:00
scope6_var.h Clean up VCS Ids. 2007-12-10 16:03:40 +00:00
scope6.c Clean up VCS Ids. 2007-12-10 16:03:40 +00:00
sctp6_usrreq.c - Macro-izes the packed declaration in all headers. 2008-06-14 07:58:05 +00:00
sctp6_var.h Clean up VCS Ids. 2007-12-10 16:03:40 +00:00
tcp6_var.h Clean up VCS Ids. 2007-12-10 16:03:40 +00:00
udp6_usrreq.c Employ read locks on UDP inpcbs, rather than write locks, when 2008-05-29 08:27:14 +00:00
udp6_var.h Clean up VCS Ids. 2007-12-10 16:03:40 +00:00