[RFC ovpn net-next v6 0/2] ovpn: add multicast/broadcast support

Marco Baffo <[email protected]>
Newsgroups gmane.network.openvpn.devel
Message-ID <[email protected]>
This series adds multicast and broadcast packet transmission support to
the ovpn DCO driver. The first patch is the actual feauture and the
second one contains the 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.

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                      | 174 ++++++++++++++++++++-
 drivers/net/ovpn/io.h                      |   2 +
 drivers/net/ovpn/main.c                    |  10 +-
 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, 269 insertions(+), 13 deletions(-)

-- 
2.43.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.