[IPX]: Fix NULL pointer dereference on ipx unload
authorJiri Bohac <jbohac@suse.cz>
Fri, 9 Feb 2007 00:02:21 +0000 (16:02 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Feb 2007 00:02:21 +0000 (16:02 -0800)
commit1539b98b561754252dd520b98fa03a688a4f81b5
tree4121f7c5d25d6008a919dd5ec92b29990a49d6f9
parent42c05f6e6e3d57495054a4cae35850b3f7d1c343
[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>
net/ipx/af_ipx.c