aboutsummaryrefslogtreecommitdiff
path: root/drivers/char/n_r3964.c
diff options
context:
space:
mode:
authorAnton Vorontsov <avorontsov@ru.mvista.com>2008-02-01 16:22:48 +0300
committerDavid S. Miller <davem@davemloft.net>2008-02-03 04:25:58 -0800
commit80a9fad8e89a23c31bab9c228a88a391c4f8d698 (patch)
tree2c6d22ee53f9fca8a6b0fadc422178397eb7a07e /drivers/char/n_r3964.c
parentf67c6275185216b47ee50c8c122adee3c562bce7 (diff)
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 <avorontsov@ru.mvista.com> Signed-off-by: Jeff Garzik <jeff@garzik.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/char/n_r3964.c')
0 files changed, 0 insertions, 0 deletions