Re: [PATCH] ax25: don't free pointers to statically allocated data

2007-08-14 Thread David Miller
From: Alexey Dobriyan <[EMAIL PROTECTED]> 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 repro

[PATCH] ax25: don't free pointers to statically allocated data

2007-08-14 Thread Alexey Dobriyan
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