Re: [PATCH 1/2] tcp: make tcp_timestamp dependent on tcp_sock

2013-01-23 Thread Andrew Vagin
On Wed, Jan 23, 2013 at 08:25:17AM -0800, Eric Dumazet wrote: > > @@ -1142,9 +1145,11 @@ static inline void tcp_openreq_init(struct > > request_sock *req, > > static inline void tcp_synack_rtt_meas(struct sock *sk, > >struct request_sock *req) > > { > > + co

Re: [PATCH 1/2] tcp: make tcp_timestamp dependent on tcp_sock

2013-01-23 Thread Christoph Paasch
On Wednesday 23 January 2013 19:01:53 Andrey Vagin wrote: > This will be used for setting timestamp offset. > > This patch converts the macros tcp_timestamp to a function with one > argument "struct tcp_sock *tp" and nothing else. > > Cc: "David S. Miller" > Cc: Alexey Kuznetsov > Cc: James Mor

Re: [PATCH 1/2] tcp: make tcp_timestamp dependent on tcp_sock

2013-01-23 Thread Eric Dumazet
On Wed, 2013-01-23 at 19:01 +0400, Andrey Vagin wrote: > This will be used for setting timestamp offset. > > This patch converts the macros tcp_timestamp to a function with one > argument "struct tcp_sock *tp" and nothing else. > > Cc: "David S. Miller" > Cc: Alexey Kuznetsov > Cc: James Morris

[PATCH 1/2] tcp: make tcp_timestamp dependent on tcp_sock

2013-01-23 Thread Andrey Vagin
This will be used for setting timestamp offset. This patch converts the macros tcp_timestamp to a function with one argument "struct tcp_sock *tp" and nothing else. Cc: "David S. Miller" Cc: Alexey Kuznetsov Cc: James Morris Cc: Hideaki YOSHIFUJI Cc: Patrick McHardy Cc: Eric Dumazet Cc: Yuc