Re: [PATCH 0/2] two small additions in advance of if_wg

2021-05-05 Thread Jason A. Donenfeld
I wound up posting the 1/2 patch to phabricator here: https://reviews.freebsd.org/D30087 Could somebody review and commit this? Thanks, Jason ___ freebsd-net@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe,

[PATCH 1/2] uipc_socket: add sogetsockaddr convenience function

2021-04-22 Thread Jason A. Donenfeld
It is useful to be able to call pr_usrreqs->pru_sockaddr on a struct socket, so this commit adds a wrapper around it, analogous to the other types of socket getters. Original-author: Kyle Evans Signed-off-by: Jason A. Donenfeld --- sys/kern/uipc_socket.c | 11 +++ sys/sys/socketva

[PATCH 2/2] ck: add pr_{load,store}_bool functions

2021-04-22 Thread Jason A. Donenfeld
While these are functionally the same as ck_pr_{load,store}_8, it's actually quite useful to be able to use this on ordinary bool types, without having to add casting to every callsite. Signed-off-by: Jason A. Donenfeld --- sys/contrib/ck/include/ck_pr.h | 2 ++ 1 file changed, 2 inser

[PATCH 0/2] two small additions in advance of if_wg

2021-04-22 Thread Jason A. Donenfeld
I wait to submit these all at once alongside if_wg, whenever that is ready for review, that's fine too, and I can do that. But in case you'd prefer that I start with smaller commits now, here's a tiny series for your consideration. Thanks, Jason Jason A. Donenfeld (2): uipc_socke

call for help: if_wg needs kernel hackers

2021-04-14 Thread Jason A. Donenfeld
Hi folks, Since being backed out of 13.0, development of if_wg has continued in the wireguard-freebsd repo -- https://git.zx2c4.com/wireguard-freebsd/ -- where we've made regular snapshots releases, which are available in ports as net/wireguard-kmod. Things are going well, and we're making good p

Re: wireguard implementation in progress with zero coordination or communication with wireguard project? can we help?

2020-02-18 Thread Jason A. Donenfeld
Hey K, On Tue, Feb 18, 2020 at 4:33 PM K. Macy wrote: > I appreciate your enthusiasm, but I can’t count the number of nascent kernel > projects that have come up in discussion over the years and ultimately come > to nothing. Do you mean that the FreeBSD one might not work out, or you're skepti

wireguard implementation in progress with zero coordination or communication with wireguard project? can we help?

2020-02-18 Thread Jason A. Donenfeld
Hi Matthew, I'm Jason, the lead of the WireGuard project. Somebody brought it to my attention that Netgate has been sponsoring you to write a WireGuard kernel implementation for FreeBSD. What a terrific development! However, this is in fact the first I've heard of such an initiative, which is qu