summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2009-05-12 21:33:38 +0000
committerkettenis <kettenis@openbsd.org>2009-05-12 21:33:38 +0000
commit362aabb799f2486bc2c68e42fa52d1ffcd72dde9 (patch)
tree45093bfc9319fe65244c0f53db8fe09e4bef2322
parentActually ACK a handshake initiated by the other end. (diff)
downloadwireguard-openbsd-362aabb799f2486bc2c68e42fa52d1ffcd72dde9.tar.xz
wireguard-openbsd-362aabb799f2486bc2c68e42fa52d1ffcd72dde9.zip
Don't throw away ldc packets if the ldc link went just up, otherwise we may
miss the initial handshake from OBP.
-rw-r--r--sys/arch/sparc64/dev/vnet.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/arch/sparc64/dev/vnet.c b/sys/arch/sparc64/dev/vnet.c
index 50fcc9adad8..0364bddfa7f 100644
--- a/sys/arch/sparc64/dev/vnet.c
+++ b/sys/arch/sparc64/dev/vnet.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vnet.c,v 1.15 2009/05/12 21:13:37 kettenis Exp $ */
+/* $OpenBSD: vnet.c,v 1.16 2009/05/12 21:33:38 kettenis Exp $ */
/*
* Copyright (c) 2009 Mark Kettenis
*
@@ -373,7 +373,6 @@ vnet_rx_intr(void *arg)
break;
}
lc->lc_rx_state = rx_state;
- hv_ldc_rx_set_qhead(lc->lc_id, rx_tail);
return (1);
}