[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20070814.172556.106263629.davem@davemloft.net>
Date: Tue, 14 Aug 2007 17:25:56 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: adobriyan@...il.com
Cc: akpm@...l.org, netdev@...r.kernel.org, linux-hams@...r.kernel.org
Subject: Re: [PATCH] ax25: don't free pointers to statically allocated data
From: Alexey Dobriyan <adobriyan@...il.com>
Date: Tue, 14 Aug 2007 23:30:38 +0400
> commit 8d5cf596d10d740b69b5f4bbdb54b85abf75810d started to add statically
> allocated ax25_protocol's to list. However kfree() was still in place waiting
> for unsuspecting ones on module removal.
>
> Steps to reproduce:
>
> modprobe netrom
> rmmod netrom
>
> P.S.: code would benefit greatly from list_add/list_del usage
>
> kernel BUG at mm/slab.c:592!
> invalid opcode: 0000 [1] PREEMPT SMP
...
> Signed-off-by: Alexey Dobriyan <adobriyan@...il.com>
Also applied, thanks a lot.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists