]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: Initialize peer session field of newly created link endpoint
authorAllan Stephens <allan.stephens@windriver.com>
Thu, 7 Apr 2011 13:43:27 +0000 (09:43 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 1 Sep 2011 15:16:35 +0000 (11:16 -0400)
commit1c44778b6252d862a6aad8ace952a19fb6a68fef
tree0ade2aba888449e606fd6ad3c01db3e3c473c197
parent2484ac81c908e9b9e93d05dd6dfb6ac6232aab31
tipc: Initialize peer session field of newly created link endpoint

Initializes the peer session number field of a newly created link
endpoint to an invalid value. This eliminates the remote possibility
that it will accidentally match the session number used by the peer
the first time the link is activated, and cause the link to ignore
a valid RESET message.

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