Renamed patches to keep their original numbering from codelinaro.org Fixed minor bugs and added support for the qca-nss-drv-l2tpv2 module
29 lines
1.0 KiB
Diff
29 lines
1.0 KiB
Diff
From e3e9167247b3e234d915e25a4692ed6c6ec11935 Mon Sep 17 00:00:00 2001
|
|
From: Vishnu Vardhan Bantanahal <quic_vishvard@quicinc.com>
|
|
Date: Thu, 1 Jun 2023 17:55:00 +0530
|
|
Subject: [PATCH 271/500] net: added a new netdevice priv flag for soft tunnel
|
|
|
|
This flag can be used by flow acceleration managers
|
|
to identify whether a flow is originated from or
|
|
destined to a tun/tap device
|
|
|
|
Change-Id: I9631a13f083f5096be2c0046eedd277b9971c72d
|
|
Signed-off-by: Amit Gupta <amitgupt@codeaurora.org>
|
|
Signed-off-by: Pavithra R <pavir@codeaurora.org>
|
|
Signed-off-by: Vishnu Vardhan Bantanahal <quic_vishvard@quicinc.com>
|
|
Signed-off-by: Pavithra R <quic_pavir@quicinc.com>
|
|
---
|
|
drivers/net/tun.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
--- a/drivers/net/tun.c
|
|
+++ b/drivers/net/tun.c
|
|
@@ -999,6 +999,7 @@ static int tun_net_init(struct net_devic
|
|
dev->vlan_features = dev->features &
|
|
~(NETIF_F_HW_VLAN_CTAG_TX |
|
|
NETIF_F_HW_VLAN_STAG_TX);
|
|
+ dev->priv_flags_ext |= IFF_EXT_TUN_TAP;
|
|
|
|
tun->flags = (tun->flags & ~TUN_FEATURES) |
|
|
(ifr->ifr_flags & TUN_FEATURES);
|