]> git.hungrycats.org Git - linux/commitdiff
[PATCH] Missing spin_unlock_irqrestore from rrunner driver.
authorDave Jones <davej@redhat.com>
Wed, 13 Aug 2003 16:12:05 +0000 (09:12 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Wed, 13 Aug 2003 16:12:05 +0000 (09:12 -0700)
drivers/net/rrunner.c

index e9e9012bd251297372bc5360ae3ac4b0ac6b74b2..349e05c82b08001f279fd90dafb2183e738d8815 100644 (file)
@@ -1645,6 +1645,7 @@ static int rr_ioctl(struct net_device *dev, struct ifreq *rq, int cmd)
                        printk(KERN_ERR "%s: Error reading EEPROM\n",
                               dev->name);
                        error = -EFAULT;
+                       spin_unlock_irqrestore(&rrpriv->lock, flags);
                        goto gf_out;
                }
                spin_unlock_irqrestore(&rrpriv->lock, flags);