]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
tipc: Revert name table translation optimization
authorAllan Stephens <allan.stephens@windriver.com>
Mon, 7 Nov 2011 22:00:54 +0000 (17:00 -0500)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 24 Feb 2012 22:05:17 +0000 (17:05 -0500)
commitbc9f8143ecf96c17a56635d2ef4c3c6b6ec27947
tree7fad37cb7c78e88cba4b59aba374194cead93f56
parent75aba9af2410ae8fc70600d9dcda0651f20e091e
tipc: Revert name table translation optimization

Restores name table translation using a non-zero domain that is
"out of scope", which was broken by an earlier commit
(5d9c54c1e9ececcf7e99c4f014f9bec7ee3a7def). Comments have now been
added to the name table translation routine to make it clear that
there are actually three possible outcomes to a translation request
(found/not found/deferred), rather than just two (found/not found).

Note that a straightforward revert of the earlier commit is not
possible, as other changes to the name table translation logic
have occurred since the incorrect optimization was made.

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
net/tipc/name_table.c
net/tipc/port.c