Re: [PATCH net-next v2 12/22] ovpn: implement TCP transport
From: Simon Horman <horms@kernel.org>
Date: 2024-03-05 15:13:36
From: Simon Horman <horms@kernel.org>
Date: 2024-03-05 15:13:36
On Mon, Mar 04, 2024 at 04:09:03PM +0100, Antonio Quartulli wrote:
With this changem ovpn is allowed to communicate to peers also via TCP. Signed-off-by: Antonio Quartulli <antonio@openvpn.net>
...
diff --git a/drivers/net/ovpn/tcp.c b/drivers/net/ovpn/tcp.c new file mode 100644 index 000000000000..d810929bc470 --- /dev/null +++ b/drivers/net/ovpn/tcp.c@@ -0,0 +1,474 @@ +// SPDX-License-Identifier: GPL-2.0 +/* OpenVPN data channel offload + * + * Copyright (C) 2019-2024 OpenVPN, Inc. + * + * Author: Antonio Quartulli <antonio@openvpn.net> + */ + +#include "main.h" +#include "ovpnstruct.h" +#include "io.h" +#include "peer.h" +#include "proto.h" +#include "skb.h"
Hi Antonio, this breaks bisection because skb.h doesn't exist until the following patch in this series.
+#include "tcp.h" + +#include <linux/ptr_ring.h> +#include <linux/skbuff.h> +#include <net/tcp.h> +#include <net/route.h>
...