Deleted Added
full compact
ng_base.c (184205) ng_base.c (185179)
1/*
2 * ng_base.c
3 */
4
5/*-
6 * Copyright (c) 1996-1999 Whistle Communications, Inc.
7 * All rights reserved.
8 *

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

33 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
34 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
35 * THIS SOFTWARE, EVEN IF WHISTLE COMMUNICATIONS IS ADVISED OF THE POSSIBILITY
36 * OF SUCH DAMAGE.
37 *
38 * Authors: Julian Elischer <julian@freebsd.org>
39 * Archie Cobbs <archie@freebsd.org>
40 *
1/*
2 * ng_base.c
3 */
4
5/*-
6 * Copyright (c) 1996-1999 Whistle Communications, Inc.
7 * All rights reserved.
8 *

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

33 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
34 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
35 * THIS SOFTWARE, EVEN IF WHISTLE COMMUNICATIONS IS ADVISED OF THE POSSIBILITY
36 * OF SUCH DAMAGE.
37 *
38 * Authors: Julian Elischer <julian@freebsd.org>
39 * Archie Cobbs <archie@freebsd.org>
40 *
41 * $FreeBSD: head/sys/netgraph/ng_base.c 184205 2008-10-23 15:53:51Z des $
41 * $FreeBSD: head/sys/netgraph/ng_base.c 185179 2008-11-22 16:03:18Z mav $
42 * $Whistle: ng_base.c,v 1.39 1999/01/28 23:54:53 julian Exp $
43 */
44
45/*
46 * This file implements the base netgraph code.
47 */
48
49#include <sys/param.h>

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

2848 * to avoid problems with allocating when in tight memeory situations.
2849 * Don't free it if it is so.
2850 * I break them appart here, because erros may cause a free if the item
2851 * in which case we'd be doing it twice.
2852 * they are kept together above, to simplify freeing.
2853 */
2854out:
2855 NG_RESPOND_MSG(error, here, item, resp);
42 * $Whistle: ng_base.c,v 1.39 1999/01/28 23:54:53 julian Exp $
43 */
44
45/*
46 * This file implements the base netgraph code.
47 */
48
49#include <sys/param.h>

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

2848 * to avoid problems with allocating when in tight memeory situations.
2849 * Don't free it if it is so.
2850 * I break them appart here, because erros may cause a free if the item
2851 * in which case we'd be doing it twice.
2852 * they are kept together above, to simplify freeing.
2853 */
2854out:
2855 NG_RESPOND_MSG(error, here, item, resp);
2856 if (msg)
2857 NG_FREE_MSG(msg);
2856 NG_FREE_MSG(msg);
2858 return (error);
2859}
2860
2861/************************************************************************
2862 Queue element get/free routines
2863************************************************************************/
2864
2865uma_zone_t ng_qzone;

--- 864 unchanged lines hidden ---
2857 return (error);
2858}
2859
2860/************************************************************************
2861 Queue element get/free routines
2862************************************************************************/
2863
2864uma_zone_t ng_qzone;

--- 864 unchanged lines hidden ---