[DCCP]: Sequence number wrap-around when sending reset
authorGerrit Renker <gerrit@erg.abdn.ac.uk>
Wed, 26 Sep 2007 14:32:49 +0000 (11:32 -0300)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:52:43 +0000 (16:52 -0700)
commit9bf55cda9b2487fa7316dad3880acb0031ad3c0f
treeed4e30691351b9d59583f17a6811f14d0fbcb9e1
parenta94f0f970549e63e54c80c4509db299c514d8c11
[DCCP]: Sequence number wrap-around when sending reset

This replaces normal addition with mod-48 addition so that sequence number
wraparound is respected.

Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Signed-off-by: Ian McDonald <ian.mcdonald@jandi.co.nz>
Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
net/dccp/ipv4.c
net/dccp/ipv6.c