diff options
author | rwatson <rwatson@FreeBSD.org> | 2005-01-09 05:34:37 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2005-01-09 05:34:37 +0000 |
commit | 4c896149a502308da6eab56bb81e5c8012dfe150 (patch) | |
tree | f7b091b2e8e62c196d9e49c293b1329fd82ebe9d /sys/netipx | |
parent | 29ba9d8b8d3d04e71d1ccf39cdd6f0d20b865f9b (diff) | |
download | FreeBSD-src-4c896149a502308da6eab56bb81e5c8012dfe150.zip FreeBSD-src-4c896149a502308da6eab56bb81e5c8012dfe150.tar.gz |
Recent changes have locked down most of the highly dynamic data
structures in IPX/SPX -- primarily, sequence numbering, PCB lists,
and PCBs for IPX raw sockets, IPX datagram sockets, and IPX/SPX.
As such, remove remove NET_NEEDS_GIANT() for IPX, and remove the
assertion of Giant in the ipxintr() IPX input path.
Note that IPX/SPX is not fully MPSAFE, and that there are some
problems with IPX/SPX locking that will require some further work.
However, it is now safe enough to run in general without the Giant
lock.
MFC after: 4 weeks
Diffstat (limited to 'sys/netipx')
-rw-r--r-- | sys/netipx/ipx.c | 2 | ||||
-rw-r--r-- | sys/netipx/ipx_input.c | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/sys/netipx/ipx.c b/sys/netipx/ipx.c index 778c4ce..fd06a07 100644 --- a/sys/netipx/ipx.c +++ b/sys/netipx/ipx.c @@ -51,8 +51,6 @@ __FBSDID("$FreeBSD$"); #include <netipx/ipx_if.h> #include <netipx/ipx_var.h> -NET_NEEDS_GIANT("ipx"); - /* * XXXRW: Requires synchronization. */ diff --git a/sys/netipx/ipx_input.c b/sys/netipx/ipx_input.c index 53d8d9a..b5d5ef2 100644 --- a/sys/netipx/ipx_input.c +++ b/sys/netipx/ipx_input.c @@ -140,8 +140,6 @@ ipxintr(struct mbuf *m) struct ipx_ifaddr *ia; int len; - GIANT_REQUIRED; - /* * If no IPX addresses have been set yet but the interfaces * are receiving, can't do anything with incoming packets yet. |