Some switches might decide to discard the VLAN discovery request, so we should rather re-send it whenever we need to retry. At worst we will be receiving several responses, but they'll be discarded anyway.
Signed-off-by: Hannes Reinecke <[email protected]> --- fipvlan.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fipvlan.c b/fipvlan.c index 6cdc142..83df532 100644 --- a/fipvlan.c +++ b/fipvlan.c @@ -730,6 +730,7 @@ retry: if (iff->req_sent && !iff->resp_recv) { FIP_LOG_DBG("if %d: VLAN discovery RETRY [%d]", iff->ifindex, retry_count); + iff->req_sent = false; retry_iff++; continue; } -- 1.7.10.4 _______________________________________________ fcoe-devel mailing list [email protected] http://lists.open-fcoe.org/mailman/listinfo/fcoe-devel
