tipc: Minor optimization to rejection of connection-based messages
authorAllan Stephens <allan.stephens@windriver.com>
Wed, 2 Nov 2011 14:32:14 +0000 (10:32 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 6 Feb 2012 21:59:19 +0000 (16:59 -0500)
commitdff10e9e637663c8c5dd0bae1a8f0e899cbb4a36
tree08b607dac7f39a5e405b81da527f8644ac5ca58d
parent3175bd9add570f3b5c06877369897b334556a2ff
tipc: Minor optimization to rejection of connection-based messages

Modifies message rejection logic so that TIPC doesn't attempt to
send a FIN message to the rejecting port if it is known in advance
that there is no such message because the rejecting port doesn't exist.

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