diff options
author | 2010-09-22 14:38:52 +0000 | |
---|---|---|
committer | 2010-09-22 14:38:52 +0000 | |
commit | 7ee5f10eb9aadaf2ab705570b54a1d38fda2ffa5 (patch) | |
tree | 87b326e4ec8dc3e103b2c63e9fcfa66e68feee28 | |
parent | Support AES-GCM-16 (as aes-gcm) and ENCR_NULL_AUTH_AES_GMAC (diff) | |
download | wireguard-openbsd-7ee5f10eb9aadaf2ab705570b54a1d38fda2ffa5.tar.xz wireguard-openbsd-7ee5f10eb9aadaf2ab705570b54a1d38fda2ffa5.zip |
as dying flag didn't set in aue_detach(), set it.
ok jsg@
-rw-r--r-- | sys/dev/usb/if_aue.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/usb/if_aue.c b/sys/dev/usb/if_aue.c index 0d2a605e55a..8ad72d44e0f 100644 --- a/sys/dev/usb/if_aue.c +++ b/sys/dev/usb/if_aue.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_aue.c,v 1.77 2009/10/13 19:33:17 pirofti Exp $ */ +/* $OpenBSD: if_aue.c,v 1.78 2010/09/22 14:38:52 yuo Exp $ */ /* $NetBSD: if_aue.c,v 1.82 2003/03/05 17:37:36 shiba Exp $ */ /* * Copyright (c) 1997, 1998, 1999, 2000 @@ -855,6 +855,8 @@ aue_detach(struct device *self, int flags) } timeout_del(&sc->aue_stat_ch); + + sc->aue_dying = 1; /* * Remove any pending tasks. They cannot be executing because they run * in the same thread as detach. |