]> 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)
commit9eb76519e0389ef0cdd3b9f805c1ed45c66dc88e
tree303f49ddb2f42092f85afe10d90922fcabf5e004
parente807dd5382914e1b3ac580f6ebaba7ab356d2ef2
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