search for: br_init

Displaying 14 results from an estimated 14 matches for "br_init".

Did you mean: brd_init
2007 Apr 18
1
[PATCH][BRIDGE] br.c depends on CONFIG_BRIDGE_NETFILTER, not CONFIG_NETFILTER
...n 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_NETF...
2007 Apr 18
3
[Bridge] [2.6 patch] fix bridge <-> ATM compile error
This patch fixes the following compile error with CONFIG_BRIDGE=y and CONFIG_ATM_LANE=m: <-- snip --> ... LD .tmp_vmlinux1 net/built-in.o(.init.text+0x3ad1): In function `br_init': : undefined reference to `br_fdb_get_hook' net/built-in.o(.init.text+0x3adb): In function `br_init': : undefined reference to `br_fdb_put_hook' net/built-in.o(.exit.text+0xa2): In function `br_deinit': : undefined reference to `br_fdb_get_hook' net/built-in.o(.exit.text+0x...
2007 Apr 18
1
[Bridge] [PATCH] bridge: check kmem_cache_create() error
...b.c | 4 +++- net/bridge/br_private.h | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) Index: 2.6-mm/net/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; } Ind...
2009 Aug 13
0
[Bridge] [PATCH] bridge-utils: Add 'hairpin' port forwarding mode
...bbridge.h index 016acea..39964f2 100644 --- a/libbridge/libbridge.h +++ b/libbridge/libbridge.h @@ -80,6 +80,7 @@ struct port_info struct timeval message_age_timer_value; struct timeval forward_delay_timer_value; struct timeval hold_timer_value; + unsigned char hairpin_mode; }; extern int br_init(void); @@ -113,4 +114,6 @@ extern int br_set_path_cost(const char *br, const char *p, int path_cost); extern int br_read_fdb(const char *br, struct fdb_entry *fdbs, unsigned long skip, int num); +extern int br_set_hairpin_mode(const char *bridge, const char *dev, + int...
2009 Aug 13
0
[Bridge] [PATCH] bridge-utils: Add 'hairpin' port forwarding mode
...bbridge.h index 016acea..39964f2 100644 --- a/libbridge/libbridge.h +++ b/libbridge/libbridge.h @@ -80,6 +80,7 @@ struct port_info struct timeval message_age_timer_value; struct timeval forward_delay_timer_value; struct timeval hold_timer_value; + unsigned char hairpin_mode; }; extern int br_init(void); @@ -113,4 +114,6 @@ extern int br_set_path_cost(const char *br, const char *p, int path_cost); extern int br_read_fdb(const char *br, struct fdb_entry *fdbs, unsigned long skip, int num); +extern int br_set_hairpin_mode(const char *bridge, const char *dev, + int...
2009 Aug 13
0
[Bridge] [PATCH] bridge-utils: Add 'hairpin' port forwarding mode
...bbridge.h index 016acea..39964f2 100644 --- a/libbridge/libbridge.h +++ b/libbridge/libbridge.h @@ -80,6 +80,7 @@ struct port_info struct timeval message_age_timer_value; struct timeval forward_delay_timer_value; struct timeval hold_timer_value; + unsigned char hairpin_mode; }; extern int br_init(void); @@ -113,4 +114,6 @@ extern int br_set_path_cost(const char *br, const char *p, int path_cost); extern int br_read_fdb(const char *br, struct fdb_entry *fdbs, unsigned long skip, int num); +extern int br_set_hairpin_mode(const char *bridge, const char *dev, + int...
2009 Jun 15
0
[Bridge] [PATCH][RFC] bridge-utils: add basic VEPA support
...c_timer_value; + unsigned char vepa_mode; + char uplink_port[IFNAMSIZ]; }; struct fdb_entry @@ -80,6 +82,7 @@ struct port_info struct timeval message_age_timer_value; struct timeval forward_delay_timer_value; struct timeval hold_timer_value; + unsigned char hairpin_mode; }; extern int br_init(void); @@ -113,4 +116,8 @@ extern int br_set_path_cost(const char *br, const char *p, int path_cost); extern int br_read_fdb(const char *br, struct fdb_entry *fdbs, unsigned long skip, int num); +extern int br_set_vepa_uplink(const char *br, const char *uplink); +extern int br_s...
2009 Jun 15
0
[Bridge] [PATCH][RFC] bridge-utils: add basic VEPA support
...c_timer_value; + unsigned char vepa_mode; + char uplink_port[IFNAMSIZ]; }; struct fdb_entry @@ -80,6 +82,7 @@ struct port_info struct timeval message_age_timer_value; struct timeval forward_delay_timer_value; struct timeval hold_timer_value; + unsigned char hairpin_mode; }; extern int br_init(void); @@ -113,4 +116,8 @@ extern int br_set_path_cost(const char *br, const char *p, int path_cost); extern int br_read_fdb(const char *br, struct fdb_entry *fdbs, unsigned long skip, int num); +extern int br_set_vepa_uplink(const char *br, const char *uplink); +extern int br_s...
2009 Jun 15
0
[Bridge] [PATCH][RFC] bridge-utils: add basic VEPA support
...c_timer_value; + unsigned char vepa_mode; + char uplink_port[IFNAMSIZ]; }; struct fdb_entry @@ -80,6 +82,7 @@ struct port_info struct timeval message_age_timer_value; struct timeval forward_delay_timer_value; struct timeval hold_timer_value; + unsigned char hairpin_mode; }; extern int br_init(void); @@ -113,4 +116,8 @@ extern int br_set_path_cost(const char *br, const char *p, int path_cost); extern int br_read_fdb(const char *br, struct fdb_entry *fdbs, unsigned long skip, int num); +extern int br_set_vepa_uplink(const char *br, const char *uplink); +extern int br_s...
2008 Jul 07
3
[Bridge] [RFC PATCH 0/2] Allow full bridge configuration via sysfs
Right now, you can configure most bridge device parameters via sysfs. However, you cannot either: - add or remove bridge interfaces - add or remove physical interfaces from a bridge The attached patch set rectifies this. With this patch set, brctl (theoretically) becomes completely optional, much like ifenslave is now for bonding. (In fact, the idea for this patch, and the syntax used herein, is
2011 Jun 13
5
3.0.0-rc2: Xen: High amount of kernel "reserved" memory, about 33% in 256MB DOMU
Hi, another issue I''m seeing with 3.0-rc2 and Xen is that there is an unexpectedly high amount of kernel reserved memory. I suspect that Linux allocates page table entries and corresponding data structures for the whole 6GB areas of the provided ''physical RAM map'' even though it has rather big unusable holes in it. [ 0.000000] BIOS-provided physical RAM map: [
2007 Apr 18
5
[Bridge] RFC: [PATCH] bridge vlan integration
Hi, The attached patches enables the bridge to filter and forward packets according to their IEEE 802.1q headers. The goals behind this change include : - Enable running STP on 802.1q tagged networks. STP packets must be untagged. It isn't obvious how else to enable STP with the current bridge and vlan code. - Add native support for an untagged vlan. Currently an untagged vlan can
2010 Nov 16
0
Bug#603727: xen-hypervisor-4.0-amd64: i386 Dom0 crashes after doing some I/O on local storage (software Raid1 on SAS-drives with mpt2sas driver)
...[ 54.061408] REISERFS (device dm-0): checking transaction log (dm-0) [ 54.074893] REISERFS (device dm-0): Using r5 hash to sort names done. Activating swapfile swap...done. Cleaning up temporary files.... Setting kernel variables ...done. Configuring network interfaces...[ 54.409786] calling br_init+0x0/0xae [bridge] @ 1048 [ 54.414786] Bridge firewalling registered [ 54.418823] initcall br_init+0x0/0xae [bridge] returned 0 after 3980 usecs [ 54.445254] device eth1 entered promiscuous mode [ 54.503370] bnx2: eth1: using MSIX [ 54.506813] ADDRCONF(NETDEV_UP): eth1: link is not ready...
2013 Mar 12
14
vpmu=1 and running 'perf top' within a PVHVM guest eventually hangs dom0 and hypervisor has stuck vCPUS. Romley-EP (model=45, stepping=2)
...t: IPv6 over IPv4 tunneling driver [ 28.398601] initcall sit_init+0x0/0x8c returned 0 after 1207 usecs [ 28.398746] calling packet_init+0x0/0x47 @ 1 [ 28.398872] NET: Registered protocol family 17 [ 28.399011] initcall packet_init+0x0/0x47 returned 0 after 135 usecs [ 28.399142] calling br_init+0x0/0xa2 @ 1 [ 28.399509] initcall br_init+0x0/0xa2 returned 0 after 208 usecs [ 28.399644] calling init_rpcsec_gss+0x0/0x64 @ 1 [ 28.399815] initcall init_rpcsec_gss+0x0/0x64 returned 0 after 43 usecs [ 28.399950] calling dcbnl_init+0x0/0x4d @ 1 [ 28.400087] initcall dcbnl_init+0x0/0x4...