tipc: Don't create payload message using connection protocol routine
authorAllan Stephens <allan.stephens@windriver.com>
Wed, 1 Jun 2011 19:48:42 +0000 (15:48 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 24 Jun 2011 20:18:18 +0000 (16:18 -0400)
commitf55b564054e35dcd171e1191a477327528271f95
tree303f49ddb2f42092f85afe10d90922fcabf5e004
parent1c1a551acb8b65f842824900b283a96462f907ab
tipc: Don't create payload message using connection protocol routine

Modifies the logic that creates a connection termination payload
message so that it no longer (mis)uses a routine that creates a
connection protocol message. The revised code is now more easily
understood, and avoids setting several fields that are either not
present in payload messages or were being set more than once.

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