[ATM]: Fix clip module reload crash.
authorRandy Dunlap <randy.dunlap@oracle.com>
Sun, 21 Oct 2007 23:24:27 +0000 (16:24 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 22 Oct 2007 09:59:52 +0000 (02:59 -0700)
commitbfb85c9f753a7172bd962e8717118191dfd612cc
tree99701d12b83314bbba092e6841b28b842febdd08
parent33b0c4fe6d0dd19fc7c9b801855f55c5260f2858
[ATM]: Fix clip module reload crash.

net/atm/clip.c crashes the kernel if it (module) is loaded, removed,
and then loaded again.  Its exit call to neigh_table_clear()
should destroy the cache after freeing it.

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/neighbour.c