Skip to content

Commit

Permalink
[ATM]: [lec] reset retry counter when new arp issued
Browse files Browse the repository at this point in the history
From: Scott Talbert <scott.talbert@lmco.com>
Signed-off-by: Chas Williams <chas@cmf.nrl.navy.mil>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Scott Talbert authored and David S. Miller committed Sep 30, 2005
1 parent 4a7097f commit 75b895c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions net/atm/lec.c
Original file line number Diff line number Diff line change
Expand Up @@ -2021,6 +2021,12 @@ lec_arp_resolve(struct lec_priv *priv, unsigned char *mac_to_find,
found = entry->vcc;
goto out;
}
/* If the LE_ARP cache entry is still pending, reset count to 0
* so another LE_ARP request can be made for this frame.
*/
if (entry->status == ESI_ARP_PENDING) {
entry->no_tries = 0;
}
/* Data direct VC not yet set up, check to see if the unknown
frame count is greater than the limit. If the limit has
not been reached, allow the caller to send packet to
Expand Down

0 comments on commit 75b895c

Please sign in to comment.