From c69b2383e51ef08ef62654063fa6e9d7765bc824 Mon Sep 17 00:00:00 2001 From: Luiz Capitulino Date: Mon, 19 Jan 2004 05:09:17 -0800 Subject: [PATCH] [BRIDGE]: Fix br_netfilter.c build with CONFIG_SYSCTL disabled --- net/bridge/br_netfilter.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/net/bridge/br_netfilter.c b/net/bridge/br_netfilter.c index 9fbef2a322679..9651cdfa87cfd 100644 --- a/net/bridge/br_netfilter.c +++ b/net/bridge/br_netfilter.c @@ -435,8 +435,10 @@ static unsigned int br_nf_forward_arp(unsigned int hook, struct sk_buff **pskb, struct vlan_ethhdr *hdr = (struct vlan_ethhdr *)(skb->mac.ethernet); struct net_device **d = (struct net_device **)(skb->cb); +#ifdef CONFIG_SYSCTL if (!brnf_call_arptables) return NF_ACCEPT; +#endif if (skb->protocol != __constant_htons(ETH_P_ARP)) { if (!IS_VLAN_ARP) -- 2.53.0