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

Taylor R Campbell <[email protected]>
Newsgroups gmane.os.netbsd.bugs
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.