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



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