From: David Miller <da...@davemloft.net>
Date: Tue, 10 May 2016 23:47:58 -0400 (EDT)

> From: Lawrence Brakmo <bra...@fb.com>
> Date: Tue, 10 May 2016 13:11:09 -0700
> 
>> Replace 2 arguments (cnt and rtt) in the congestion control modules'
>> pkts_acked() function with a struct. This will allow adding more
>> information without having to modify existing congestion control
>> modules (tcp_nv in particular needs bytes in flight when packet
>> was sent).
>> 
>> As proposed by Neal Cardwell in his comments to the tcp_nv patch.
>> 
>> Signed-off-by: Lawrence Brakmo <bra...@fb.com>
>> Acked-by: Yuchung Cheng <ych...@google.com>
> 
> Applied, thanks.

Actually I had to revert, this breaks the build:

net/ipv4/tcp_illinois.c: In function ‘tcp_illinois_acked’:
net/ipv4/tcp_illinois.c:97:18: error: assignment of member ‘rtt_us’ in 
read-only object
   sample->rtt_us = RTT_MAX;

You can't mark this argument const.

Reply via email to