summaryrefslogtreecommitdiff
path: root/sys/netipx/ipx_input.c
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2005-01-09 05:31:16 +0000
committerRobert Watson <rwatson@FreeBSD.org>2005-01-09 05:31:16 +0000
commit2082ca5d577691746cdeacbfe118c41d908b5ed1 (patch)
tree6d2fa3ecab37e2b4b96021927bc6d5c421ba73af /sys/netipx/ipx_input.c
parent2375a5a16a2eefb343b1b556b0890526faac9fe5 (diff)
downloadsrc-test2-2082ca5d577691746cdeacbfe118c41d908b5ed1.tar.gz
src-test2-2082ca5d577691746cdeacbfe118c41d908b5ed1.zip
Notes
Diffstat (limited to 'sys/netipx/ipx_input.c')
-rw-r--r--sys/netipx/ipx_input.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netipx/ipx_input.c b/sys/netipx/ipx_input.c
index ee1ca232cfd8..53d8d9a0d85f 100644
--- a/sys/netipx/ipx_input.c
+++ b/sys/netipx/ipx_input.c
@@ -277,8 +277,9 @@ ours:
if ((ipxp->ipxp_flags & IPXP_ALL_PACKETS) == 0)
switch (ipx->ipx_pt) {
case IPXPROTO_SPX:
+ IPX_LOCK(ipxp);
+ /* Will release both locks. */
spx_input(m, ipxp);
- IPX_LIST_UNLOCK();
return;
}
IPX_LOCK(ipxp);