Bart De Schuymer
2007-Apr-18 17:22 UTC
[PATCH][BRIDGE] br.c depends on CONFIG_BRIDGE_NETFILTER, not CONFIG_NETFILTER
Hi Dave, The patch below lets the bridge compile when CONFIG_BRIDGE_NETFILTER isn't enabled. This patch is an update of M.J. Miroslaw's patch that arrived through private mail. cheers, Bart --- linux-2.6.0-test10/net/bridge/br.c.old Wed Nov 26 01:28:16 2003 +++ linux-2.6.0-test10/net/bridge/br.c Wed Nov 26 01:31:54 2003 @@ -32,7 +32,7 @@ int (*br_should_route_hook) (struct sk_b static int __init br_init(void) { -#if defined(CONFIG_INET) && defined(CONFIG_NETFILTER) +#ifdef CONFIG_BRIDGE_NETFILTER if (br_netfilter_init()) return 1; #endif @@ -50,7 +50,7 @@ static int __init br_init(void) static void __exit br_deinit(void) { -#if defined(CONFIG_INET) && defined(CONFIG_NETFILTER) +#ifdef CONFIG_BRIDGE_NETFILTER br_netfilter_fini(); #endif unregister_netdevice_notifier(&br_device_notifier);
David S. Miller
2007-Apr-18 17:22 UTC
[PATCH][BRIDGE] br.c depends on CONFIG_BRIDGE_NETFILTER, not CONFIG_NETFILTER
On Wed, 26 Nov 2003 00:30:21 +0100 Bart De Schuymer <bdschuym@pandora.be> wrote:> The patch below lets the bridge compile when CONFIG_BRIDGE_NETFILTER > isn't enabled. > This patch is an update of M.J. Miroslaw's patch that arrived through > private mail.Applied, thanks guys.
Apparently Analagous Threads
- [Bridge] [PATCH] bridge: check kmem_cache_create() error
- [Bridge] [2.6 patch] fix bridge <-> ATM compile error
- [Bridge] [PATCH 2.4] bridge - eliminate br_ioctl_mutex
- [Bridge] [PATCH] (9/11) bridge -- new ioctl interface for 32/64 compatiablity
- [PATCH][BRIDGE] Properly dereference the br_should_route_hook