]> git.openfabrics.org - ~shefty/ibacm.git/commit
ibacm: fix issuing SA query after recording address
authorSean Hefty <sean.hefty@intel.com>
Mon, 15 Nov 2010 20:08:46 +0000 (12:08 -0800)
committerSean Hefty <sean.hefty@intel.com>
Wed, 17 Nov 2010 00:05:46 +0000 (16:05 -0800)
commitdd5542fbaa1c5a92367d0552ef3525d5ea0a4638
tree586b39cacd2b705239045da946e474cb11840ae8
parent549692c49922dce3911d97dcc6d0a2fc583ab5f7
ibacm: fix issuing SA query after recording address

ACM has two ways that it can complete address resolution.  The
first is to receive a response to an address resolution query.
The second is to receive a multicast message carrying an address
resolution request.  In the second case, the address request
may be between two other nodes.

When this occurs, ACM will record the address information of
the source of the multicast message.  However, it's possible
for ACM to be in the process of trying to resolve that address.
After it records the address, it must see if there's an
outstanding request against that address, so that it can kick
off route resolution.

This fixes an issue where ACM will hang resolving addresses
found during scale-up testing.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
src/acm.c