Module Name: src Committed By: rmind Date: Fri Jun 13 13:54:08 UTC 2014
Modified Files: src/sys/net: if.c Log Message: if_detach: drain ip6_pktq as well. To generate a diff of this commit: cvs rdiff -u -r1.280 -r1.281 src/sys/net/if.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.c diff -u src/sys/net/if.c:1.280 src/sys/net/if.c:1.281 --- src/sys/net/if.c:1.280 Tue Jun 10 09:38:30 2014 +++ src/sys/net/if.c Fri Jun 13 13:54:08 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: if.c,v 1.280 2014/06/10 09:38:30 joerg Exp $ */ +/* $NetBSD: if.c,v 1.281 2014/06/13 13:54:08 rmind Exp $ */ /*- * Copyright (c) 1999, 2000, 2001, 2008 The NetBSD Foundation, Inc. @@ -90,7 +90,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: if.c,v 1.280 2014/06/10 09:38:30 joerg Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if.c,v 1.281 2014/06/13 13:54:08 rmind Exp $"); #include "opt_inet.h" @@ -875,6 +875,9 @@ again: #ifdef INET pktq_barrier(ip_pktq); #endif +#ifdef INET6 + pktq_barrier(ip6_pktq); +#endif xc = xc_broadcast(0, (xcfunc_t)nullop, NULL, NULL); xc_wait(xc);