]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[PATCH] IPV4/IPV6: Fix inet{,6} device initialization order.
authorDavid L Stevens <dlstevens@us.ibm.com>
Fri, 5 Jan 2007 01:07:34 +0000 (17:07 -0800)
committerChris Wright <chrisw@sous-sol.org>
Wed, 10 Jan 2007 19:05:23 +0000 (11:05 -0800)
commitedfe21a29b1dca9ce5a938317868066d2e21c385
treea02e2b111eb4ffa036eba07a5617a077ae40d722
parent685478871654867116230498eb6ad263b0be72b8
[PATCH] 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>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
net/ipv4/devinet.c
net/ipv6/addrconf.c