diff options
author | rwatson <rwatson@FreeBSD.org> | 2004-12-30 17:49:40 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2004-12-30 17:49:40 +0000 |
commit | 767b9c0b3efe618078d08c4cf137ab912f502ca2 (patch) | |
tree | a750ac94e75e406a21cd733a1d3edf909cf38c11 /sys/netipx/ipx_usrreq.c | |
parent | 547414a25a19e2404c14c52038ec7fe4fa7b4b05 (diff) | |
download | FreeBSD-src-767b9c0b3efe618078d08c4cf137ab912f502ca2.zip FreeBSD-src-767b9c0b3efe618078d08c4cf137ab912f502ca2.tar.gz |
Convert netipx to use queue(9) doubly-linked lists instead of home-brew
linked lists for ipxpcb's.
Diffstat (limited to 'sys/netipx/ipx_usrreq.c')
-rw-r--r-- | sys/netipx/ipx_usrreq.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/netipx/ipx_usrreq.c b/sys/netipx/ipx_usrreq.c index 1c342a7..c7f78f4 100644 --- a/sys/netipx/ipx_usrreq.c +++ b/sys/netipx/ipx_usrreq.c @@ -1,4 +1,5 @@ /* + * Copyright (c) 2004, Robert N. M. Watson * Copyright (c) 1995, Mike Mitchell * Copyright (c) 1984, 1985, 1986, 1987, 1993 * The Regents of the University of California. All rights reserved. @@ -455,7 +456,7 @@ ipx_attach(so, proto, td) if (ipxp != NULL) return (EINVAL); s = splnet(); - error = ipx_pcballoc(so, &ipxpcb, td); + error = ipx_pcballoc(so, &ipxpcb_list, td); splx(s); if (error == 0) error = soreserve(so, ipxsendspace, ipxrecvspace); @@ -616,7 +617,7 @@ ripx_attach(so, proto, td) if (td != NULL && (error = suser(td)) != 0) return (error); s = splnet(); - error = ipx_pcballoc(so, &ipxrawpcb, td); + error = ipx_pcballoc(so, &ipxrawpcb_list, td); splx(s); if (error) return (error); |