[PATCH 0/2] two small additions in advance of if_wg
Jason A. Donenfeld
Jason at zx2c4.com
Fri Apr 23 05:39:13 UTC 2021
Hi,
This series of two is a "trial series" to get a hang of sending in
patches to FreeBSD and to very gradually begin the process of
upstreaming parts of if_wg. I'll eventually have some larger crypto
changes to send in (in addition to if_wg itself, in due time), but it
seems wise to start with some very tiny commits first.
Some background: when if_wg needs things that aren't yet in src/, they
get added to "support.h":
https://git.zx2c4.com/wireguard-freebsd/tree/src/support.h
Then, functions that are in main, but aren't in the various releng or
stable branches, get put in "compat.h":
https://git.zx2c4.com/wireguard-freebsd/tree/src/compat.h
The goal is that over time, everything in support.h migrates to
compat.h.
So, this series contains two small preliminary commits. If you feel that
this is *too early*, and would rather that 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_socket: add sogetsockaddr convenience function
ck: add pr_{load,store}_bool functions
sys/contrib/ck/include/ck_pr.h | 2 ++
sys/kern/uipc_socket.c | 11 +++++++++++
sys/sys/socketvar.h | 1 +
3 files changed, 14 insertions(+)
--
2.31.1
More information about the freebsd-net
mailing list