This series adds multicast and broadcast packet transmission support to the ovpn DCO driver. It is a v5 of the broadcast feature patch, now accompanied by selftests.
This series is based on top of: ovpn: disable BHs when updating device stats https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/commit/?id=0c0dddc07d27 which introduces ovpn_dev_dstats_tx_dropped() / ovpn_dev_dstats_rx_dropped() helpers. The broadcast worker uses these helpers instead of open-coding local_bh_disable()/local_bh_enable(). Signed-off-by: Marco Baffo <[email protected]> --- Marco Baffo (2): ovpn: add multicast/broadcast packet transmission support ovpn: add broadcast and multicast selftests drivers/net/ovpn/io.c | 180 ++++++++++++++++++++- drivers/net/ovpn/io.h | 3 + drivers/net/ovpn/main.c | 8 +- drivers/net/ovpn/ovpnpriv.h | 10 ++ drivers/net/ovpn/peer.c | 21 ++- drivers/net/ovpn/peer.h | 6 +- tools/testing/selftests/net/ovpn/common.sh | 1 + tools/testing/selftests/net/ovpn/test.sh | 58 ++++++- 8 files changed, 274 insertions(+), 13 deletions(-) -- 2.43.0 _______________________________________________ Openvpn-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openvpn-devel
