tcp_timer.c (552c69b36ebd966186573b9c7a286b390935cce1) | tcp_timer.c (73a6bab5aa2a83cb7df85805e08bc03b4065aea7) |
---|---|
1/* 2 * INET An implementation of the TCP/IP protocol suite for the LINUX 3 * operating system. INET is implemented using the BSD Socket 4 * interface as the means of communication with the user level. 5 * 6 * Implementation of the Transmission Control Protocol(TCP). 7 * 8 * Authors: Ross Biro --- 699 unchanged lines hidden (view full) --- 708 sock_put(sk); 709} 710 711void tcp_init_xmit_timers(struct sock *sk) 712{ 713 inet_csk_init_xmit_timers(sk, &tcp_write_timer, &tcp_delack_timer, 714 &tcp_keepalive_timer); 715 hrtimer_init(&tcp_sk(sk)->pacing_timer, CLOCK_MONOTONIC, | 1/* 2 * INET An implementation of the TCP/IP protocol suite for the LINUX 3 * operating system. INET is implemented using the BSD Socket 4 * interface as the means of communication with the user level. 5 * 6 * Implementation of the Transmission Control Protocol(TCP). 7 * 8 * Authors: Ross Biro --- 699 unchanged lines hidden (view full) --- 708 sock_put(sk); 709} 710 711void tcp_init_xmit_timers(struct sock *sk) 712{ 713 inet_csk_init_xmit_timers(sk, &tcp_write_timer, &tcp_delack_timer, 714 &tcp_keepalive_timer); 715 hrtimer_init(&tcp_sk(sk)->pacing_timer, CLOCK_MONOTONIC, |
716 HRTIMER_MODE_ABS_PINNED); | 716 HRTIMER_MODE_ABS_PINNED_SOFT); |
717 tcp_sk(sk)->pacing_timer.function = tcp_pace_kick; 718} | 717 tcp_sk(sk)->pacing_timer.function = tcp_pace_kick; 718} |