]> 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)
commit2aa68adb2eede5013d9efee69b9153d054457c7d
tree7fad37cb7c78e88cba4b59aba374194cead93f56
parente8db38a235cc22b6fe16105e0e1681a16cae219f
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