Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 1943
b: refs/heads/master
c: 243cd55
h: refs/heads/master
i:
  1941: 773c381
  1939: bf0a79d
  1935: 984ecad
v: v3
  • Loading branch information
Michael Ellerman authored and Linus Torvalds committed Jun 9, 2005
1 parent 2382e15 commit 7bff1e3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7fbdf1a23be1837b8bc5bcec096015ca99e00aa7
refs/heads/master: 243cd55e021baf28babdd88112ac03ae5cd4bb9c
9 changes: 5 additions & 4 deletions trunk/drivers/net/iseries_veth.c
Original file line number Diff line number Diff line change
Expand Up @@ -802,13 +802,14 @@ static void veth_tx_timeout(struct net_device *dev)

spin_lock_irqsave(&port->pending_gate, flags);

if (!port->pending_lpmask) {
spin_unlock_irqrestore(&port->pending_gate, flags);
return;
}

printk(KERN_WARNING "%s: Tx timeout! Resetting lp connections: %08x\n",
dev->name, port->pending_lpmask);

/* If we've timed out the queue must be stopped, which should
* only ever happen when there is a pending packet. */
WARN_ON(! port->pending_lpmask);

for (i = 0; i < HVMAXARCHITECTEDLPS; i++) {
struct veth_lpar_connection *cnx = veth_cnx[i];

Expand Down

0 comments on commit 7bff1e3

Please sign in to comment.