dccp: fix error in updating the GAR
authorGerrit Renker <gerrit@erg.abdn.ac.uk>
Tue, 23 Nov 2010 02:36:56 +0000 (02:36 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 28 Nov 2010 19:29:27 +0000 (11:29 -0800)
commit0ac78870220b6e0ac74dd9292bcfa7b18718babd
tree19b0359b9a805857acf9ab713afd4e485e4da692
parenta301e1703edc088592f8c5c16f9bdd34a0792776
dccp: fix error in updating the GAR

This fixes a bug in updating the Greatest Acknowledgment number Received (GAR):
the current implementation does not track the greatest received value -
lower values in the range AWL..AWH (RFC 4340, 7.5.1) erase higher ones.

Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dccp/input.c