Displaying 5 results from an estimated 5 matches for "bridge_fdb_cache".
2013 Nov 18
0
[PATCH net] bridge: flush br's address entry in fdb when remove the bridge dev
When the following commands are executed:
brctl addbr br0
ifconfig br0 hw ether <addr>
rmmod bridge
The calltrace will occur:
[ 563.312114] device eth1 left promiscuous mode
[ 563.312188] br0: port 1(eth1) entered disabled state
[ 563.468190] kmem_cache_destroy bridge_fdb_cache: Slab cache still has objects
[ 563.468197] CPU: 6 PID: 6982 Comm: rmmod Tainted: G O 3.12.0-0.7-default+ #9
[ 563.468199] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2007
[ 563.468200] 0000000000000880 ffff88010f111e98 ffffffff814d1c92 ffff88010f111eb8
[ 563.468204] ffffffff81148e...
2013 Nov 18
0
bridge: flush br's address entry in fdb when remove the bridge dev
When the following commands are executed:
brctl addbr br0
ifconfig br0 hw ether <addr>
rmmod bridge
The calltrace will occur:
[ 563.312114] device eth1 left promiscuous mode
[ 563.312188] br0: port 1(eth1) entered disabled state
[ 563.468190] kmem_cache_destroy bridge_fdb_cache: Slab cache still has objects
[ 563.468197] CPU: 6 PID: 6982 Comm: rmmod Tainted: G O 3.12.0-0.7-default+ #9
[ 563.468199] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2007
[ 563.468200] 0000000000000880 ffff88010f111e98 ffffffff814d1c92 ffff88010f111eb8
[ 563.468204] ffffffff81148e...
2007 Apr 18
1
[Bridge] [PATCH] bridge: check kmem_cache_create() error
.../bridge/br_fdb.c
@@ -27,12 +27,14 @@ static struct kmem_cache *br_fdb_cache _
static int fdb_insert(struct net_bridge *br, struct net_bridge_port *source,
const unsigned char *addr);
-void __init br_fdb_init(void)
+int __init br_fdb_init(void)
{
br_fdb_cache = kmem_cache_create("bridge_fdb_cache",
sizeof(struct net_bridge_fdb_entry),
0,
SLAB_HWCACHE_ALIGN, NULL, NULL);
+
+ return br_fdb_cache ? 0 : -ENOMEM;
}
void __exit br_fdb_fini(void)
Index: 2.6-mm/net/bridge/br_private.h
===================================================================
--- 2.6-mm.orig/n...
2006 Apr 09
0
Slab memory usage on dom0 increases by 128MB/day
...8 2048 2 1 : tunables 24 12
8 : slabdata 4 4 0
rpc_tasks 8 15 256 15 1 : tunables 120 60
8 : slabdata 1 1 0
rpc_inode_cache 0 0 512 7 1 : tunables 54 27
8 : slabdata 0 0 0
bridge_fdb_cache 7 61 64 61 1 : tunables 120 60
8 : slabdata 1 1 0
UNIX 87 105 512 7 1 : tunables 54 27
8 : slabdata 15 15 0
tcp_tw_bucket 0 0 128 31 1 : tunables 120 60
8 : slabdata 0 0...
2007 Aug 05
3
OOM killer observed during heavy I/O from VMs (XEN 3.0.4 and XEN 3.1)
...4 6 640 6
UDPv6 1 7 576 7
tw_sock_TCPv6 0 0 128 30
request_sock_TCPv6 0 0 128 30
TCPv6 0 0 1152 7
nbd-wi 52 78 48 78
bridge_fdb_cache 35 59 64 59
ip_fib_alias 15 113 32 113
ip_fib_hash 15 113 32 113
ext3_inode_cache 309 576 460 8
ext3_xattr 0 0 44 84
journal_handle 64 169 20 16...