]> err.no Git - linux-2.6/commit
[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)
commit30c4cf577fb5b68c16e5750d6bdbd7072e42b279
tree36f558c08ebdd1830536aab92b8abac79330cdbc
parent0d630cc0a6cb8ad544b5913a26ff1349ed7c8587
[IPV4/IPV6]: Fix inet{,6} device initialization order.

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>
net/ipv4/devinet.c
net/ipv6/addrconf.c