aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Talbert <scott.talbert@lmco.com>2005-09-29 20:31:30 -0400
committerDavid S. Miller <davem@davemloft.net>2005-09-29 20:31:30 -0400
commit75b895c15b3ea2a3cd5c8e8f3c62e4598ef4d2ba (patch)
treeaa45ba13ad8f0368357ad7ef89483658ec5815d7
parent4a7097fcc431ab2ccf509d8342831873138c814a (diff)
[ATM]: [lec] reset retry counter when new arp issued
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>
-rw-r--r--net/atm/lec.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/net/atm/lec.c b/net/atm/lec.c
index 47e1eae97461..ad840b9afba8 100644
--- a/net/atm/lec.c
+++ b/net/atm/lec.c
@@ -2021,6 +2021,12 @@ lec_arp_resolve(struct lec_priv *priv, unsigned char *mac_to_find,
2021 found = entry->vcc; 2021 found = entry->vcc;
2022 goto out; 2022 goto out;
2023 } 2023 }
2024 /* If the LE_ARP cache entry is still pending, reset count to 0
2025 * so another LE_ARP request can be made for this frame.
2026 */
2027 if (entry->status == ESI_ARP_PENDING) {
2028 entry->no_tries = 0;
2029 }
2024 /* Data direct VC not yet set up, check to see if the unknown 2030 /* Data direct VC not yet set up, check to see if the unknown
2025 frame count is greater than the limit. If the limit has 2031 frame count is greater than the limit. If the limit has
2026 not been reached, allow the caller to send packet to 2032 not been reached, allow the caller to send packet to