: Remove old RX history interface
PATCH 10/16 : Remove old RX history interface
Signed-off-by Gerrit Renker <[email protected]>
Signed-off-by Ian McDonald <[email protected]>
--- net/dccp/ccids/lib/loss_interval.c | 9 ++ net/dccp/ccids/lib/packet_history.c | 162 ----------------------------------- net/dccp/ccids/lib/packet_history.h | 84 ------------------ 3 files changed, 9 insertions(+), 246 deletions(-)
net/dccp/ccids/lib/loss_interval.c +9 -0
@@ -129,6 +129,12 @@ static u32 dccp_li_calc_first_li(struct sock *sk, u16 s, u32 bytes_recv, u32 previous_x_recv) { +/* +* XXX This function still relies on the old RX interface and thus can not be +* kept. But it can also not be removed since the loss interval code calls it. +* Since it will be replaced anyway, comment it out for this moment. +*/ +#ifdef __THIS_IS_RESOLVED_IN_NEXT_PATCH__struct dccp_rx_hist_entry *entry, *next, *tail =NULL ;u32 x_recv, p;suseconds_t rtt, delta;
@@ -220,6 +226,9 @@ found:return ~0 ; else return 1000000 / p; +#else +return ~0 ; +#endif } void dccp_li_update_li(struct sock *sk,
net/dccp/ccids/lib/packet_history.c +0 -162
174 lines not on this page · raw message
net/dccp/ccids/lib/packet_history.h +0 -84
109 lines not on this page · raw message
Signature · 1 line
1.5.2.2.238.g7cbf2f2-dirty