Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net Use if_free instead of free
details: https://anonhg.NetBSD.org/src/rev/2f4dbacfb2d6
branches: trunk
changeset: 331050:2f4dbacfb2d6
user: ozaki-r <ozaki-r%NetBSD.org@localhost>
date: Tue Jul 29 01:35:44 2014 +0000
description:
Use if_free instead of free
diffstat:
sys/net/if_faith.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 100749616e45 -r 2f4dbacfb2d6 sys/net/if_faith.c
--- a/sys/net/if_faith.c Mon Jul 28 23:09:06 2014 +0000
+++ b/sys/net/if_faith.c Tue Jul 29 01:35:44 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_faith.c,v 1.49 2014/06/06 01:02:47 rmind Exp $ */
+/* $NetBSD: if_faith.c,v 1.50 2014/07/29 01:35:44 ozaki-r Exp $ */
/* $KAME: if_faith.c,v 1.21 2001/02/20 07:59:26 itojun Exp $ */
/*
@@ -40,7 +40,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_faith.c,v 1.49 2014/06/06 01:02:47 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_faith.c,v 1.50 2014/07/29 01:35:44 ozaki-r Exp $");
#include "opt_inet.h"
@@ -136,7 +136,7 @@
bpf_detach(ifp);
if_detach(ifp);
- free(ifp, M_DEVBUF);
+ if_free(ifp);
return (0);
}
Home |
Main Index |
Thread Index |
Old Index