Shaun Ruffell
eecf45cf5f
wcte12xp: Destroy the cache if the linemode is not recognized.
Fixes the following errors when running:
# modprobe wcte12xp default_linemode=blah; modprobe wcte12xp default_linemode=blah
'blah' is an unknown span type.kmem_cache_create: duplicate cache wcte12xp
Call Trace:
[<ffffffff800394cf>] kmem_cache_create+0x572/0x5ac
[<ffffffff800a926e>] __link_module+0x0/0x18
[<ffffffff80064624>] __down_read+0x12/0x92
[<ffffffff8002224d>] __up_read+0x19/0x7f
[<ffffffff8818b01f>] :wcte12xp:te12xp_init+0x1f/0xde
[<ffffffff800a9e37>] sys_init_module+0xbd/0x206
[<ffffffff8005d28d>] tracesys+0xd5/0xe0
Reported-by: James Brown <jbrown@digium.com>
Signed-off-by: Shaun Ruffell <sruffell@digium.com>
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@10695 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2012-06-22 17:59:34 +00:00
..
2010-08-27 21:59:27 +00:00
2012-04-02 13:58:11 +00:00
2012-03-21 18:56:05 +00:00
2011-11-01 15:27:21 +00:00
2012-04-05 20:32:37 +00:00
2012-03-21 18:56:05 +00:00
2012-05-23 12:20:23 +00:00
2012-05-23 12:20:23 +00:00
2012-04-02 13:58:03 +00:00
2012-05-23 12:20:23 +00:00
2012-06-22 17:59:34 +00:00
2012-06-21 17:34:09 +00:00
2010-08-27 21:59:27 +00:00
2010-08-27 21:59:27 +00:00
2010-08-27 21:59:27 +00:00
2010-08-27 21:59:27 +00:00
2012-04-05 16:15:22 +00:00
2012-04-03 19:44:41 +00:00
2012-03-13 20:09:12 +00:00
2012-04-03 19:44:45 +00:00
2012-04-03 19:44:37 +00:00
2012-03-21 18:56:05 +00:00
2012-03-21 18:56:05 +00:00
2012-03-21 18:56:05 +00:00
2012-02-09 15:24:40 +00:00
2012-02-09 15:25:03 +00:00
2012-02-09 15:25:03 +00:00
2011-01-03 18:26:29 +00:00
2012-05-23 12:39:07 +00:00
2012-03-21 18:56:05 +00:00
2012-05-23 12:36:42 +00:00
2012-03-13 20:09:12 +00:00
2011-02-28 14:19:09 +00:00
2012-03-21 18:56:05 +00:00
2010-08-27 21:59:27 +00:00
2010-08-27 21:59:27 +00:00
2011-04-04 16:26:00 +00:00
2012-02-22 12:11:48 +00:00
2010-08-27 21:59:27 +00:00
2010-08-27 21:59:27 +00:00
2011-10-26 18:58:14 +00:00
2010-08-27 21:59:27 +00:00
2010-08-27 21:59:27 +00:00
2011-01-03 18:26:24 +00:00
2012-05-23 12:20:23 +00:00
2010-08-27 21:59:27 +00:00
2011-10-26 19:00:28 +00:00
2012-05-23 12:20:23 +00:00
2011-10-26 19:00:28 +00:00
2012-05-23 12:20:23 +00:00