Deleted Added
full compact
uipc_usrreq.c (268601) uipc_usrreq.c (268787)
1/*-
2 * Copyright (c) 1982, 1986, 1989, 1991, 1993
3 * The Regents of the University of California.
4 * Copyright (c) 2004-2009 Robert N. M. Watson
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 42 unchanged lines hidden (view full) ---

51 *
52 * TODO:
53 * RDM
54 * rethink name space problems
55 * need a proper out-of-band
56 */
57
58#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 1982, 1986, 1989, 1991, 1993
3 * The Regents of the University of California.
4 * Copyright (c) 2004-2009 Robert N. M. Watson
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 42 unchanged lines hidden (view full) ---

51 *
52 * TODO:
53 * RDM
54 * rethink name space problems
55 * need a proper out-of-band
56 */
57
58#include <sys/cdefs.h>
59__FBSDID("$FreeBSD: head/sys/kern/uipc_usrreq.c 268601 2014-07-14 06:00:01Z kevlo $");
59__FBSDID("$FreeBSD: head/sys/kern/uipc_usrreq.c 268787 2014-07-17 05:21:16Z kevlo $");
60
61#include "opt_ddb.h"
62
63#include <sys/param.h>
64#include <sys/capsicum.h>
65#include <sys/domain.h>
66#include <sys/fcntl.h>
67#include <sys/malloc.h> /* XXX must be before <sys/file.h> */

--- 2275 unchanged lines hidden (view full) ---

2343 cm = (struct cmsghdr *)
2344 ((caddr_t)cm + CMSG_SPACE(datalen));
2345 } else {
2346 clen = 0;
2347 cm = NULL;
2348 }
2349 }
2350 }
60
61#include "opt_ddb.h"
62
63#include <sys/param.h>
64#include <sys/capsicum.h>
65#include <sys/domain.h>
66#include <sys/fcntl.h>
67#include <sys/malloc.h> /* XXX must be before <sys/file.h> */

--- 2275 unchanged lines hidden (view full) ---

2343 cm = (struct cmsghdr *)
2344 ((caddr_t)cm + CMSG_SPACE(datalen));
2345 } else {
2346 clen = 0;
2347 cm = NULL;
2348 }
2349 }
2350 }
2351 m0 = m0->m_act;
2351 m0 = m0->m_nextpkt;
2352 }
2353}
2354
2355/*
2356 * A helper function called by VFS before socket-type vnode reclamation.
2357 * For an active vnode it clears unp_vnode pointer and decrements unp_vnode
2358 * use count.
2359 */

--- 146 unchanged lines hidden ---
2352 }
2353}
2354
2355/*
2356 * A helper function called by VFS before socket-type vnode reclamation.
2357 * For an active vnode it clears unp_vnode pointer and decrements unp_vnode
2358 * use count.
2359 */

--- 146 unchanged lines hidden ---