Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Apr 2021 23:39:00 -0600
From:      "Jason A. Donenfeld" <Jason@zx2c4.com>
To:        freebsd-net@freebsd.org
Cc:        "Jason A. Donenfeld" <Jason@zx2c4.com>
Subject:   [PATCH 0/2] two small additions in advance of if_wg
Message-ID:  <20210423053902.16087-1-Jason@zx2c4.com>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210423053902.16087-1-Jason>