]> git.baikalelectronics.ru Git - kernel.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)
commitafd1b9ad80d7b3924488cc237c3675d0bd011b5f
tree7fad37cb7c78e88cba4b59aba374194cead93f56
parent3354609d5998ea77274d6a41a9d7164ba00c2be9
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
(03732b71de156186ddb08467f31344b678fe1b3c). 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