Files
linux/net
Gerrit Renker 8ed030dd0a dccp: fix bug in cache allocation
This fixes a bug introduced in commit de4ef86cfc
("dccp: fix dccp rmmod when kernel configured to use slub", 17 Jan): the
vsnprintf used sizeof(slab_name_fmt), which became truncated to 4 bytes, since
slab_name_fmt is now a 4-byte pointer and no longer a 32-character array.

This lead to error messages such as
 FATAL: Error inserting dccp: No buffer space available

 >> kernel: [ 1456.341501] kmem_cache_create: duplicate cache cci
generated due to the truncation after the 3rd character.

Fixed for the moment by introducing a symbolic constant. Tested to fix the bug.

Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-02-03 19:00:30 -08:00
..
2009-12-16 12:16:41 -05:00
2010-01-24 19:52:24 -08:00
2010-01-16 01:04:04 -08:00
2010-02-03 19:00:30 -08:00
2009-11-25 15:14:13 -08:00
2009-12-15 08:53:25 -08:00
2010-02-03 18:13:43 -08:00
2010-01-16 01:04:04 -08:00
2009-11-25 15:14:13 -08:00
2010-01-03 21:25:53 -08:00
2009-07-12 12:22:34 -07:00
2009-12-17 10:51:40 -05:00