Commit 93d14c84 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] PPC64 iSeries virtual ethernet locking fix

From: Olaf Hering <olh@suse.de>

Missing spin_unlock in the error path.
parent 83615b9d
......@@ -994,6 +994,7 @@ static int veth_start_xmit(struct sk_buff *skb, struct net_device *dev)
veth_error("%s: Tx while skb was pending!\n",
dev->name);
dev_kfree_skb(skb);
spin_unlock_irqrestore(&port->pending_gate, flags);
return 1;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment