ipconfig: IPv6 was enabled too early
authorJukka Rissanen <jukka.rissanen@linux.intel.com>
Mon, 21 Jan 2013 12:39:31 +0000 (14:39 +0200)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Thu, 24 Jan 2013 10:08:17 +0000 (12:08 +0200)
commita3e8f3674f242825b2911fe625d842ec6674859a
tree9d0d9f868cb15abed692d4bf7a475f0203d490b1
parentc1445c100e2523fb4d8fcdf8a3cc0c1cd6769e4a
ipconfig: IPv6 was enabled too early

When enabling IPv6 ipconfig, we enable kernel IPv6 support too early.
The ipconfig might get unreffed which will disable ipconfig and
thus disable kernel IPv6 support. By moving kernel IPv6 enabling
after the ipconfig unref call, we make sure that IPv6 kernel support
is properly enabled.
This is related to fix in commit d479904ecaa2bd9
src/ipconfig.c