freebsd-skq/sys/netatalk
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
..
aarp.c Replaced the misleading uses of a historical artefact M_TRYWAIT with M_WAIT. 2008-03-25 09:39:02 +00:00
aarp.h Mark wire data structures in netatalk as __packed so that they are 2007-06-28 12:54:58 +00:00
at_control.c Use privilege PRIV_NET_ADDIFADDR rather than suser() to authorize 2007-02-19 22:40:02 +00:00
at_extern.h Add code to allow the system to handle multiple routing tables. 2008-05-09 23:03:00 +00:00
at_proto.c Add code to allow the system to handle multiple routing tables. 2008-05-09 23:03:00 +00:00
at_rmx.c Cleanup of netatalk atalk layer includes, protocol definitions, and 2007-01-12 13:18:08 +00:00
at_var.h Cleanup of netatalk atalk layer includes, protocol definitions, and 2007-01-12 13:18:08 +00:00
at.h Cleanup of netatalk atalk layer includes, protocol definitions, and 2007-01-12 13:18:08 +00:00
COPYRIGHT
ddp_input.c Merge first in a series of TrustedBSD MAC Framework KPI changes 2007-10-24 19:04:04 +00:00
ddp_output.c Annotate two possible bugs in a comment: (1) we allocate and explicitly 2007-11-20 18:50:54 +00:00
ddp_pcb.c Clean up DDP layer netatalk code: 2007-01-12 15:07:51 +00:00
ddp_pcb.h Clean up DDP layer netatalk code: 2007-01-12 15:07:51 +00:00
ddp_usrreq.c Remove NETISR_MPSAFE, which allows specific netisr handlers to be directly 2008-07-04 00:21:38 +00:00
ddp_var.h Clean up DDP layer netatalk code: 2007-01-12 15:07:51 +00:00
ddp.h Mark wire data structures in netatalk as __packed so that they are 2007-06-28 12:54:58 +00:00
endian.h
phase2.h