Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/net And revert both of the previous. It seems that the ...



details:   https://anonhg.NetBSD.org/src/rev/d3da34c631c5
branches:  trunk
changeset: 449810:d3da34c631c5
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Mon Mar 25 01:01:29 2019 +0000

description:
And revert both of the previous.  It seems that the structure has
already been removed from the list in the find_zunit() code.

So now, off to really find out why the module won't unload.

diffstat:

 sys/net/if_tun.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 825d6eceecc1 -r d3da34c631c5 sys/net/if_tun.c
--- a/sys/net/if_tun.c  Mon Mar 25 00:59:04 2019 +0000
+++ b/sys/net/if_tun.c  Mon Mar 25 01:01:29 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_tun.c,v 1.149 2019/03/25 00:59:04 pgoyette Exp $    */
+/*     $NetBSD: if_tun.c,v 1.150 2019/03/25 01:01:29 pgoyette Exp $    */
 
 /*
  * Copyright (c) 1988, Julian Onions <jpo%cs.nott.ac.uk@localhost>
@@ -19,7 +19,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_tun.c,v 1.149 2019/03/25 00:59:04 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_tun.c,v 1.150 2019/03/25 01:01:29 pgoyette Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -369,7 +369,6 @@
                softint_disestablish(tp->tun_osih);
                softint_disestablish(tp->tun_isih);
                mutex_destroy(&tp->tun_lock);
-               LIST_REMOVE(tp, tunz_list);
                kmem_free(tp, sizeof(*tp));
                return 0;
        }



Home | Main Index | Thread Index | Old Index