summaryrefslogtreecommitdiffstats
path: root/net/dccp/diag.c
diff options
context:
space:
mode:
authorGerrit Renker <gerrit@erg.abdn.ac.uk>2007-03-20 13:08:19 -0300
committerDavid S. Miller <davem@sunset.davemloft.net>2007-04-25 22:26:46 -0700
commit8d13bf9a0bd4984756e234ce54299b92acefab99 (patch)
tree3a5fa39fec52b934d0d86afe93423cb9bb5ded20 /net/dccp/diag.c
parentb16be51b5e5d75cec71b18ebc75f15a4734c62ad (diff)
[DCCP]: Remove ambiguity in the way before48 is used
This removes two ambiguities in employing the new definition of before48, following the analysis on http://www.mail-archive.com/dccp@vger.kernel.org/msg01295.html (1) Updating GSR when P.seqno >= S.SWL With the old definition we did not update when P.seqno and S.SWL are 2^47 apart. To ensure the same behaviour as with the old definition, this is replaced with the equivalent condition dccp_delta_seqno(S.SWL, P.seqno) >= 0 (2) Sending SYNC when P.seqno >= S.OSR Here it is debatable whether the new definition causes an ambiguity: the case is similar to (1); and to have consistency with the case (1), we use the equivalent condition dccp_delta_seqno(S.OSR, P.seqno) >= 0 Detailed Justification
Diffstat (limited to 'net/dccp/diag.c')
0 files changed, 0 insertions, 0 deletions