Re: kern/60386: experimental wg(4) DoS mitigation is suboptimal
"Taylor R Campbell via gnats" <[email protected]>
| Newsgroups | gmane.os.netbsd.bugs |
|---|---|
| Message-ID | <[email protected]> |
The following reply was made to PR kern/60386; it has been noted by GNATS. From: Taylor R Campbell <[email protected]> To: [email protected], [email protected] 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