]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite6fc1b0abdb04218e75edc2d46a32d06e1e1ddbe
tree303f49ddb2f42092f85afe10d90922fcabf5e004
parenta7f4e01c801355dc25ccf937039eec3a0b242faa
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