]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: Expand link sequence gap field to 13 bits
authorAllan Stephens <allan.stephens@windriver.com>
Thu, 5 Jun 2008 00:47:30 +0000 (17:47 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Jun 2008 00:47:30 +0000 (17:47 -0700)
commitbae742f9eae4b6a00c9f3b3cbed336e3e5e86a98
tree2187b514c144ae70e6c36845c50dab2674770bb2
parent14deda5b52164a17965e1d5f91cf6c21f7a295fd
tipc: Expand link sequence gap field to 13 bits

This patch increases the "sequence gap" field of the LINK_PROTOCOL
message header from 8 bits to 13 bits (utilizing 5 previously
unused 0 bits).  This ensures that the field is big enough to
indicate the loss of up to 8191 consecutive messages on the link,
thereby accommodating the current worst-case scenario of 4000
lost messages.

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/msg.h