Should fix a panic reported by many on bugs@ and misc@.
ok dlg@
-/* $OpenBSD: if_tun.c,v 1.136 2015/04/10 13:58:20 dlg Exp $ */
+/* $OpenBSD: if_tun.c,v 1.137 2015/04/15 10:11:29 mpi Exp $ */
/* $NetBSD: if_tun.c,v 1.24 1996/05/07 02:40:48 thorpej Exp $ */
/*
return (EAFNOSUPPORT);
}
- if (niq_enqueue(ifq, m) != 0) {
+ if (niq_enqueue(ifq, top) != 0) {
ifp->if_collisions++;
return (ENOBUFS);
}