HardenedBSD/sys/dev/wg
Mark Johnston 5515e8874a wg: Implement if_transmit unconditionally
Commit bf454ca88b made wg_transmit() defined only when "device netmap"
is configured, as if_wg's if_transmit implementation should never be
called otherwise, but this breaks a requirement that interfaces
implement both or neither of if_transmit and if_qflush.

Restore the old behaviour of unconditionally defining wg_transmit().  It
contains an assertion that the interface is in netmap mode.

Reported by:	peterj
MFC after:	2 weeks
Fixes:	bf454ca88b ("wg: Add netmap support")
2024-06-16 13:33:45 -04:00
..
compat.h
crypto.h
if_wg.c wg: Implement if_transmit unconditionally 2024-06-16 13:33:45 -04:00
if_wg.h
version.h
wg_cookie.c wg: uma_zcreate() does not fail 2024-04-24 08:45:40 -04:00
wg_cookie.h
wg_crypto.c
wg_noise.c
wg_noise.h