Skip to content

Commit

Permalink
[PATCH] iseries_veth: Set dev->trans_start so watchdog timer works right
Browse files Browse the repository at this point in the history
Hi Andrew, Jeff,

The iseries_veth driver doesn't set dev->trans_start in it's TX path. This
will cause the net device watchdog timer to fire earlier than we want it to,
which causes the driver to needlessly reset its connections to other LPARs.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
  • Loading branch information
Michael Ellerman authored and Jeff Garzik committed May 15, 2005
1 parent f27eff1 commit eb235ae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/net/iseries_veth.c
Original file line number Diff line number Diff line change
Expand Up @@ -1023,6 +1023,8 @@ static int veth_start_xmit(struct sk_buff *skb, struct net_device *dev)

lpmask = veth_transmit_to_many(skb, lpmask, dev);

dev->trans_start = jiffies;

if (! lpmask) {
dev_kfree_skb(skb);
} else {
Expand Down

0 comments on commit eb235ae

Please sign in to comment.