Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102692157
D44582.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
500 B
Referenced Files
None
Subscribers
None
D44582.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D44582: wg: Use ENETUNREACH when transmitting to a non-existent peer
Attached
Detach File
Event Timeline
Log In to Comment