HomeFreeBSD

net/wireguard-kmod: Update to 0.0.20220610

Description

net/wireguard-kmod: Update to 0.0.20220610

Changes

  • if_wg: wg_queue_len: remove locking
  • if_wg: wg_queue_delist_staged: use more standard STAILQ_CONCAT
  • if_wg: wgc_get/set: use M_WAITOK with malloc()
  • if_wg: wg_clone_create: Use M_WAITOK with malloc
  • wg_cookie: ratelimit_init: use callout_init_mtx
  • if_wg: wg_mbuf_reset: don't free send tags
  • if_wg: wg_module_init: clean up more if the self tests fail

Numerous cleanups.

  • if_wg: avoid scheduling excessive tasks for encryption/decryption

A nice performance improvement - John reports double on iperf3 TCP throughput.

  • crypto: return an error code from mbuf crypt routines

Preparation for the OCF work John's been working on.

  • if_wg: account for input function returning a boolean
  • if_wg: account for added argument to sbcreatecontrol

These allow building on recent FreeBSD 14 main.

  • if_wg: do not use continue statement on \!VIMAGE
  • build: only include compat.h for if_wg.c and fix build with an obj directory

Minimum required version is FreeBSD 12.3.

Details

Provenance
deckeAuthored on Jun 11 2022, 10:52 AM
Parents
R11:b50942243b52: www/opencart: Update to 4.0.0.0
Branches
Unknown
Tags
Unknown