From 4542c1cf5d7077caf33d6d9468f5e647cd9d19e5 Mon Sep 17 00:00:00 2001 From: wollman Date: Sat, 16 Aug 1997 19:16:27 +0000 Subject: Fix all areas of the system (or at least all those in LINT) to avoid storing socket addresses in mbufs. (Socket buffers are the one exception.) A number of kernel APIs needed to get fixed in order to make this happen. Also, fix three protocol families which kept PCBs in mbufs to not malloc them instead. Delete some old compatibility cruft while we're at it, and add some new routines in the in_cksum family. --- sys/fs/procfs/procfs_vfsops.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/fs/procfs') diff --git a/sys/fs/procfs/procfs_vfsops.c b/sys/fs/procfs/procfs_vfsops.c index a6ebbae..3afd9e9 100644 --- a/sys/fs/procfs/procfs_vfsops.c +++ b/sys/fs/procfs/procfs_vfsops.c @@ -36,7 +36,7 @@ * * @(#)procfs_vfsops.c 8.7 (Berkeley) 5/10/95 * - * $Id: procfs_vfsops.c,v 1.15 1997/02/22 09:40:31 peter Exp $ + * $Id: procfs_vfsops.c,v 1.16 1997/08/02 14:32:19 bde Exp $ */ /* @@ -177,7 +177,7 @@ procfs_init(vfsp) } #define procfs_fhtovp ((int (*) __P((struct mount *, struct fid *, \ - struct mbuf *, struct vnode **, int *, struct ucred **)))einval) + struct sockaddr *, struct vnode **, int *, struct ucred **)))einval) #define procfs_quotactl ((int (*) __P((struct mount *, int, uid_t, caddr_t, \ struct proc *)))eopnotsupp) #define procfs_sync ((int (*) __P((struct mount *, int, struct ucred *, \ -- cgit v1.1