wlan-ap-Telecominfraproject/feeds/qca-wifi-7/ipq53xx/patches-6.1/0254-net-bridge-Disable-custom-and-ebtables-calls-by-defa.patch
John Crispin 68cf54d9f7 qca-wifi-7: update to ath12.5.5
Signed-off-by: John Crispin <john@phrozen.org>
2025-02-27 12:45:52 +01:00

33 lines
1.0 KiB
Diff

From 74cbc03bf4e138f3fea3d7694876b20007d9c44e Mon Sep 17 00:00:00 2001
From: Murat Sezgin <msezgin@codeaurora.org>
Date: Wed, 16 Dec 2020 09:54:50 -0800
Subject: [PATCH 254/281] net: bridge: Disable custom and ebtables calls by
default
These flags will be enabled by the user.
Change-Id: I3418f5c40a93d485383bf7e7fd9afc12ef1519d0
Signed-off-by: Murat Sezgin <msezgin@codeaurora.org>
---
net/bridge/br_netfilter_hooks.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net/bridge/br_netfilter_hooks.c b/net/bridge/br_netfilter_hooks.c
index 3beb03a50ac8..472f68ce9fd1 100644
--- a/net/bridge/br_netfilter_hooks.c
+++ b/net/bridge/br_netfilter_hooks.c
@@ -1125,8 +1125,8 @@ static inline void br_netfilter_sysctl_default(struct brnf_net *brnf)
brnf->call_iptables = 1;
brnf->call_ip6tables = 1;
brnf->call_arptables = 1;
- brnf->call_ebtables = 1;
- brnf->call_custom = 1;
+ brnf->call_ebtables = 0;
+ brnf->call_custom = 0;
brnf->filter_vlan_tagged = 0;
brnf->filter_pppoe_tagged = 0;
brnf->pass_vlan_indev = 0;
--
2.17.1