From: Anton Vorontsov Date: Fri, 1 Feb 2008 13:22:48 +0000 (+0300) Subject: ucc_geth: fix module removal X-Git-Tag: v2.6.25-rc1~1065^2~64 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80a9fad8e89a23c31bab9c228a88a391c4f8d698;p=pandora-kernel.git ucc_geth: fix module removal - uccf should be set to NULL to not double-free memory on subsequent calls; - ind_hash_q and group_hash_q lists should be initialized in the probe() function, instead of struct_init() (called by open()), otherwise there will be an oops if ucc_geth_driver removed prior 'ifconfig ethX up'; - add unregister_netdev(); - reorder geth_remove() steps. Signed-off-by: Anton Vorontsov Signed-off-by: Jeff Garzik Signed-off-by: David S. Miller --- Reading git-diff-tree failed