]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Fix IPX module unload
authorJiri Bohac <jbohac@suse.cz>
Wed, 14 Feb 2007 02:19:47 +0000 (18:19 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 9 Mar 2007 18:50:22 +0000 (10:50 -0800)
commite8c72f47cc26dc0505dbfa9d9590b9ca988618a2
treefeabd45f036d6958088770213bb82893608dcae0
parent26e2080a00f3efae654ce723935eade61fa0c429
Fix IPX module unload

[IPX]: Fix NULL pointer dereference on ipx unload

Fixes a null pointer dereference when unloading the ipx module.

On initialization of the ipx module, registering certain packet
types can fail. When this happens, unloading the module later
dereferences NULL pointers.  This patch fixes that. Please apply.

Signed-off-by: Jiri Bohac <jbohac@suse.cz>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/ipx/af_ipx.c