]> git.karo-electronics.de Git - linux-beck.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)
commitf882cb7684cf54d4f5d3e25443a80a039e1b4bd7
tree0ade2aba888449e606fd6ad3c01db3e3c473c197
parent062b4c99fe70f95e07e8af15617750d2a6fb6789
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