Module Name: src
Committed By: ozaki-r
Date: Tue Jul 29 01:35:44 UTC 2014
Modified Files:
src/sys/net: if_faith.c
Log Message:
Use if_free instead of free
To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/sys/net/if_faith.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/net/if_faith.c
diff -u src/sys/net/if_faith.c:1.49 src/sys/net/if_faith.c:1.50
--- src/sys/net/if_faith.c:1.49 Fri Jun 6 01:02:47 2014
+++ src/sys/net/if_faith.c Tue Jul 29 01:35:44 2014
@@ -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 @@ faith_clone_destroy(struct ifnet *ifp)
bpf_detach(ifp);
if_detach(ifp);
- free(ifp, M_DEVBUF);
+ if_free(ifp);
return (0);
}