Module Name:    src
Committed By:   pgoyette
Date:           Mon Mar 25 02:58:28 UTC 2019

Modified Files:
        src/sys/net: if_tun.c

Log Message:
Use correct list name


To generate a diff of this commit:
cvs rdiff -u -r1.151 -r1.152 src/sys/net/if_tun.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_tun.c
diff -u src/sys/net/if_tun.c:1.151 src/sys/net/if_tun.c:1.152
--- src/sys/net/if_tun.c:1.151	Mon Mar 25 01:06:34 2019
+++ src/sys/net/if_tun.c	Mon Mar 25 02:58:28 2019
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_tun.c,v 1.151 2019/03/25 01:06:34 pgoyette Exp $	*/
+/*	$NetBSD: if_tun.c,v 1.152 2019/03/25 02:58:28 pgoyette Exp $	*/
 
 /*
  * Copyright (c) 1988, Julian Onions <j...@cs.nott.ac.uk>
@@ -19,7 +19,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_tun.c,v 1.151 2019/03/25 01:06:34 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_tun.c,v 1.152 2019/03/25 02:58:28 pgoyette Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -194,7 +194,7 @@ tun_find_zunit(int unit)
 		if (unit == tp->tun_unit)
 			break;
 	if (tp)
-		LIST_REMOVE(tp, tunz_list);
+		LIST_REMOVE(tp, tunz_softc_list);
 	mutex_exit(&tun_softc_lock);
 	KASSERTMSG(!tp || (tp->tun_flags & (TUN_INITED|TUN_OPEN)) == TUN_OPEN,
 	    "tun%d: inconsistent flags: %x", unit, tp->tun_flags);

Reply via email to