[IPV4/IPV6]: Fix inet{,6} device initialization order.
authorDavid L Stevens <dlstevens@us.ibm.com>
Thu, 4 Jan 2007 20:31:14 +0000 (12:31 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 Jan 2007 20:31:14 +0000 (12:31 -0800)
It is important that we only assign dev->ip{,6}_ptr
only after all portions of the inet{,6} are setup.

Otherwise we can receive packets before the multicast
spinlocks et al. are initialized.

Signed-off-by: David L Stevens <dlstevens@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found