]> git.baikalelectronics.ru Git - kernel.git/commit
dccp: fix bug in updating the GSR
authorSamuel Jero <sj323707@ohio.edu>
Thu, 30 Dec 2010 11:15:41 +0000 (12:15 +0100)
committerGerrit Renker <gerrit@erg.abdn.ac.uk>
Fri, 7 Jan 2011 11:22:43 +0000 (12:22 +0100)
commitf03225be774adbb4eab17fefb658bafb9b2ba742
tree9ee3daff6fe649578d3fabdc0a1fcf8252b7b660
parent39508434f18cba9608bcdb22d7e8ce5f07217275
dccp: fix bug in updating the GSR

Currently dccp_check_seqno allows any valid packet to update the Greatest
Sequence Number Received, even if that packet's sequence number is less than
the current GSR. This patch adds a check to make sure that the new packet's
sequence number is greater than GSR.

Signed-off-by: Samuel Jero <sj323707@ohio.edu>
Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
net/dccp/dccp.h