xsigo: Fix race in freeing aged Forwarding table entry
Orabug:
25129729
Fixed a race in case of freeing an Aged Forwarding entry
When there is no path associated with a Forwarding entry and
if it ages out uVNIC driver starts aging it ,if a new path with
different Forwarding entry (different mac but same remote guid
and qpn) creates a path present code ends up deleting
that newly created path.
Added a variable del_in_progress to detect and avoid race if
forwarding table is accessed during deletion.
Added protection in one case, while accessing forwarding table entry.
Cleaned up unwanted messages
Reported-by: Pradeep Gopanapalli <pradeep.gopanapalli@oracle.com>
Signed-off-by: Pradeep Gopanapalli <pradeep.gopanapalli@oracle.com>
Reviewed-by: sajid zia <szia@oracle.com>