summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorChris Wright <chrisw@osdl.org>2005-03-12 05:46:45 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2005-03-12 05:46:45 -0800
commita8627f44c2b5ad6414769f108c0e4659dbf91aa5 (patch)
tree0d83666ed35303e34f24b08ee9349dd4828c174c /net/unix/af_unix.c
parente0e4e66b4a81795bc907e71c7bbbf0fe10ca4e6e (diff)
[PATCH] sis900 kernel oops fix
Backport of fix described below. From: Herbert Xu <herbert@gondor.apana.org.au> Fix bug #4223. OK, this happened because we got preempted before sis900_mii_probe finished setting the sis_priv->mii. Theoretically this can happen with SMP as well but I suppose the number of SMP machines with sis900 is fairly small. Anyway, the fix is to make sure that sis900_mii_probe is done before the device can be opened. This patch does it by moving the setup before register_netdevice. Since the netdev name is not available before register_netdev, I've changed the relevant printk's to use pci_name instead. Note that one of those printk's may be called after register_netdev as well. Signed-off-by: Chris Wright <chrisw@osdl.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions