]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc63990e2c56f84b1f0e488c79bfc61396b48ef6c
tree08b607dac7f39a5e405b81da527f8644ac5ca58d
parentb80561915dabf590bb97ade127fb0daafade4edb
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