ipv6: Fix BUG when disabled ipv6 module is unloaded
authorJohn Dykstra <john.dykstra1@gmail.com>
Wed, 11 Mar 2009 16:22:51 +0000 (09:22 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Mar 2009 16:22:51 +0000 (09:22 -0700)
commitff8cf9a93800e8118ea097c1aba7203d59a0f3f1
tree27b02002a475ecde4346ba935da41d205d1b392e
parentdb434ac6bff0d991d0b60166dc9d6405b873d0f7
ipv6:  Fix BUG when disabled ipv6 module is unloaded

Do not try to "uninitialize" ipv6 if its initialization had been skipped
because module parameter disable=1 had been specified.

Reported-by: Thomas Backlund <tmb@mandriva.org>
Signed-off-by: John Dykstra <john.dykstra1@gmail.com>
Acked-by: Brian Haley <brian.haley@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/af_inet6.c