Page MenuHomeFreeBSD

D44582.diff
No OneTemporary

D44582.diff

diff --git a/sys/dev/wg/if_wg.c b/sys/dev/wg/if_wg.c
--- a/sys/dev/wg/if_wg.c
+++ b/sys/dev/wg/if_wg.c
@@ -251,9 +251,6 @@
#define MAX_LOOPS 8
#define MTAG_WGLOOP 0x77676c70 /* wglp */
-#ifndef ENOKEY
-#define ENOKEY ENOTCAPABLE
-#endif
#define GROUPTASK_DRAIN(gtask) \
gtaskqueue_drain((gtask)->gt_taskqueue, &(gtask)->gt_task)
@@ -2115,7 +2112,7 @@
BPF_MTAP2_AF(ifp, m, pkt->p_af);
if (__predict_false(peer == NULL)) {
- rc = ENOKEY;
+ rc = ENETUNREACH;
goto err_xmit;
}

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 16, 10:41 PM (20 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14666130
Default Alt Text
D44582.diff (500 B)

Event Timeline