]> git.baikalelectronics.ru Git - kernel.git/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)
commit883104c579ad6141fc7dfdfcb58684868a7b2d89
treec6cf0507bd9a4e48363748b0a2f2c89ad40ab6ab
parent3c614201c16c446eb24b7f4db1776f7ed7bb8357
[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