]> err.no Git - linux-2.6/commit
[DCCP] ccid3: return value in ccid3_hc_rx_calc_first_li
authorIan McDonald <ian.mcdonald@jandi.co.nz>
Tue, 12 Dec 2006 02:47:59 +0000 (00:47 -0200)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 14 Dec 2006 00:48:24 +0000 (16:48 -0800)
commit832e3ca62d6ee1893db05f5202c24ae5331e19ba
treec6cf0507bd9a4e48363748b0a2f2c89ad40ab6ab
parente1b4b9f3986b80d5785d91dbd8d72cfaf9fd1117
[DCCP] ccid3: return value in ccid3_hc_rx_calc_first_li

In a recent patch we introduced invalid return codes which will result in the
opposite of what is intended (i.e. send more packets in face of peculiar
network conditions).

This fixes it by returning ~0 which means not calculated as per
dccp_li_hist_calc_i_mean.

Signed-off-by: Ian McDonald <ian.mcdonald@jandi.co.nz>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
net/dccp/ccids/ccid3.c