Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/sys/lkm/netinet/if_ipl Pull up revisions 1.24-1.27 (req...
details: https://anonhg.NetBSD.org/src/rev/65e5213f8716
branches: netbsd-1-5
changeset: 492695:65e5213f8716
user: he <he%NetBSD.org@localhost>
date: Sat Feb 09 16:56:17 2002 +0000
description:
Pull up revisions 1.24-1.27 (requested by martti):
Updated IPFilter to 3.4.23
diffstat:
sys/lkm/netinet/if_ipl/mln_ipl.c | 16 ++++++----------
1 files changed, 6 insertions(+), 10 deletions(-)
diffs (46 lines):
diff -r 8415e3e1ac4d -r 65e5213f8716 sys/lkm/netinet/if_ipl/mln_ipl.c
--- a/sys/lkm/netinet/if_ipl/mln_ipl.c Sat Feb 09 16:56:14 2002 +0000
+++ b/sys/lkm/netinet/if_ipl/mln_ipl.c Sat Feb 09 16:56:17 2002 +0000
@@ -1,17 +1,17 @@
-/* $NetBSD: mln_ipl.c,v 1.23 2000/05/03 11:12:04 veego Exp $ */
+/* $NetBSD: mln_ipl.c,v 1.23.4.1 2002/02/09 16:56:17 he Exp $ */
/*
- * Copyright (C) 1993-2000 by Darren Reed.
+ * Copyright (C) 1993-2001 by Darren Reed.
*
- * Redistribution and use in source and binary forms are permitted
- * provided that this notice is preserved and due credit is given
- * to the original author and the contributors.
+ * See the IPFILTER.LICENCE file for details on licencing.
*/
/*
* 29/12/94 Added code from Marc Huber <huber%fzi.de@localhost> to allow it to allocate
* its own major char number! Way cool patch!
*/
+#include <sys/cdefs.h>
+__KERNEL_RCSID(0, "$NetBSD: mln_ipl.c,v 1.23.4.1 2002/02/09 16:56:17 he Exp $");
#include <sys/param.h>
@@ -58,11 +58,6 @@
#define VOP_LEASE LEASE_CHECK
#endif
-#ifndef MIN
-#define MIN(a,b) (((a)<(b))?(a):(b))
-#endif
-
-
#if NetBSD >= 199706
int if_ipl_lkmentry __P((struct lkm_table *, int, int));
#else
@@ -258,6 +253,7 @@
error = VOP_MKNOD(nd.ni_dvp, &nd.ni_vp, &nd.ni_cnd, &vattr);
if (error)
return error;
+ vput(nd.ni_vp);
}
return error;
}
Home |
Main Index |
Thread Index |
Old Index