Development discussion of WireGuard
 help / color / mirror / Atom feed
* FreeBSD current socket-src changed. Wireguard not compiling.
@ 2022-08-23  9:26 Michael Pro
  2022-08-29 16:16 ` Jason A. Donenfeld
  0 siblings, 1 reply; 6+ messages in thread
From: Michael Pro @ 2022-08-23  9:26 UTC (permalink / raw)
  To: wireguard

Tonight after updating kernel freebsd current I got coredump with
wireguard enabled kernel module.

As is
https://reviews.freebsd.org/D36232
 D36232 protosw: refactor protosw and domain static declaration and
load (freebsd.org)
in wireguard-freebsd/src/support.h
...
error = (*so->so_proto->pr_usrreqs->pru_sockaddr)(so, nam);
...
replace to
...
error = solisten_proto_check(so);
...
Recompile - no more core dumps. All works now, perhaps...

Is this the right way to fix the problem? Is this enough or should we
wait for a full-scale refactoring of the code?

Thanks in advance for your reply.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-09-04 17:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-23  9:26 FreeBSD current socket-src changed. Wireguard not compiling Michael Pro
2022-08-29 16:16 ` Jason A. Donenfeld
2022-08-31 18:18   ` Ed Maste
2022-09-01  5:40     ` Michael Pro
2022-09-04 17:07     ` Jason A. Donenfeld
2022-09-04 17:20       ` Jason A. Donenfeld

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).