[DCCP] ackvec: Fix how DCCP_ACKVEC_STATE_NOT_RECEIVED is used
authorAndrea Bittau <a.bittau@cs.ucl.ac.uk>
Tue, 19 Sep 2006 20:05:35 +0000 (13:05 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 22 Sep 2006 22:19:08 +0000 (15:19 -0700)
commit8e27e4650cb7e73aa4dd97d860539e7605ac7e39
tree467ff3a8ecbb0fba014f917b42cc14f1f3665e32
parent23d06e3b986677ec57007a24891fa9deb09ac973
[DCCP] ackvec: Fix how DCCP_ACKVEC_STATE_NOT_RECEIVED is used

Fix the way state is masked out.  DCCP_ACKVEC_STATE_NOT_RECEIVED is
defined as appears in the packet, therefore bit shifting is not
required.  This fix allows CCID2 to correctly detect losses.

Signed-off-by: Andrea Bittau <a.bittau@cs.ucl.ac.uk>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dccp/ackvec.c
net/dccp/ccids/ccid2.c