tipc: Enhance filtering of out-dated link reset messages
authorAllan Stephens <allan.stephens@windriver.com>
Thu, 7 Apr 2011 13:54:43 +0000 (09:54 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 1 Sep 2011 15:16:35 +0000 (11:16 -0400)
commit641c218d120b03bdea4f658ab44930587cff9158
tree223ef08cadbfbc116d5a3ade058cd96d7a095c27
parentf882cb7684cf54d4f5d3e25443a80a039e1b4bd7
tipc: Enhance filtering of out-dated link reset messages

Ensure TIPC ignores an out-dated link reset message whose session
number predates the current session number. (Previously, TIPC only
ignored an out-date reset message whose session number was equal
to the current link session number.)

Out-dated link reset messages should not occur under normal circumstances;
however, they can be generated if a link endpoint is unable to send a
link reset message right away and queues it for later delivery, but the
queued message is not sent until after the link is established.

Thanks to Laser [gotolaser@gmail.com] for diagnosing the problem and
contributing a prototype patch.

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