NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/60386: experimental wg(4) DoS mitigation is suboptimal



The following reply was made to PR kern/60386; it has been noted by GNATS.

From: Taylor R Campbell <riastradh%NetBSD.org@localhost>
To: gnats-bugs%NetBSD.org@localhost, netbsd-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: kern/60386: experimental wg(4) DoS mitigation is suboptimal
Date: Wed, 1 Jul 2026 12:34:39 +0000

 Followup change to fix the build on m68k platforms:
 
 https://mail-index.netbsd.org/source-changes/2026/06/30/msg162730.html
 
 Module Name:    src
 Committed By:   martin
 Date:           Wed Jul  1 09:22:35 UTC 2026
 
 Modified Files:
         src/sys/net: if_wg.c
 
 Log Message:
 Avoid stupid macro name clash: m68k/include/reg.h defines R0 and R1
 as the register offsets for returning values from functions in the.
 These clash with local buffers R0 and R1 here.
 Rename them to cookie_R0 and cookie_R1 to make all m68k ports build again.
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.139 -r1.140 src/sys/net/if_wg.c
 



Home | Main Index | Thread Index | Old Index