search for: br_netfilter_init

Displaying 5 results from an estimated 5 matches for "br_netfilter_init".

2007 Apr 18
1
[Bridge] [PATCH] bridge: check kmem_cache_create() error
...et/bridge/br.c =================================================================== --- 2.6-mm.orig/net/bridge/br.c +++ 2.6-mm/net/bridge/br.c @@ -37,7 +37,9 @@ static int __init br_init(void) return -EADDRINUSE; } - br_fdb_init(); + err = br_fdb_init(); + if (err) + goto err_out0; err = br_netfilter_init(); if (err) @@ -63,7 +65,10 @@ err_out3: err_out2: br_netfilter_fini(); err_out1: + br_fdb_fini(); +err_out0: llc_sap_put(br_stp_sap); + return err; } Index: 2.6-mm/net/bridge/br_fdb.c =================================================================== --- 2.6-mm.orig/net/bridge/br_fdb...
2007 Apr 18
1
[PATCH][BRIDGE] br.c depends on CONFIG_BRIDGE_NETFILTER, not CONFIG_NETFILTER
...dge/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);
2007 Apr 18
0
[Bridge] [PATCH] (9/11) bridge -- new ioctl interface for 32/64 compatiablity
...handle_frame(struct sk_buff *skb); /* br_ioctl.c */ -extern int br_ioctl_deviceless_stub(unsigned long arg); extern int br_dev_ioctl(struct net_device *dev, struct ifreq *rq, int cmd); +extern int br_ioctl_deviceless_stub(unsigned int cmd, unsigned long arg); /* br_netfilter.c */ extern int br_netfilter_init(void); diff -Nru a/net/core/dev.c b/net/core/dev.c --- a/net/core/dev.c 2004-05-20 14:46:10 -07:00 +++ b/net/core/dev.c 2004-05-20 14:46:10 -07:00 @@ -2519,6 +2519,8 @@ cmd == SIOCGMIIPHY || cmd == SIOCGMIIREG || cmd == SIOCSMIIREG || + cmd == SIOCBRADDIF || + cm...
2007 Apr 18
0
[Bridge] [PATCH] (4/11) bridge - ioctl cleanup and consolidation
...struct net_bridge *br, - unsigned int cmd, - unsigned long arg0, - unsigned long arg1, - unsigned long arg2); extern int br_ioctl_deviceless_stub(unsigned long arg); +extern int br_dev_ioctl(struct net_device *dev, struct ifreq *rq, int cmd); /* br_netfilter.c */ extern int br_netfilter_init(void);
2013 Feb 13
14
[Bridge] [PATCH v10 net-next 00/12] VLAN filtering/VLAN aware bridge
Changes since v9: * series re-ordering so make functionality more distinct. Basic vlan filtering is patches 1-4. Support for PVID/untagged vlans is patches 5 and 6. VLAN support for FDB/MDB is patches 7-11. Patch 12 is still additional egress policy. * Slight simplification to code that extracts the VID from skb. Since we now depend on the vlan module, at the time of input skb_tci is