diff options
author | David S. Miller <davem@davemloft.net> | 2017-08-01 13:07:50 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-01 13:07:50 -0400 |
commit | 29fda25a2d31098044f8dfa177c4d2834071828e (patch) | |
tree | 9e4be11c49a4405c19ece8f81fbb1db478da1055 /net/ipv4/tcp_output.c | |
parent | bb1182bc3e5956a93ab3ef8a3cbfb7966c42a94a (diff) | |
parent | bc78d646e708dabd1744ca98744dea316f459497 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Two minor conflicts in virtio_net driver (bug fix overlapping addition
of a helper) and MAINTAINERS (new driver edit overlapping revamp of
PHY entry).
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_output.c')
-rw-r--r-- | net/ipv4/tcp_output.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/ipv4/tcp_output.c b/net/ipv4/tcp_output.c index 8380464aead1..d49bff51bdb7 100644 --- a/net/ipv4/tcp_output.c +++ b/net/ipv4/tcp_output.c | |||
@@ -2200,9 +2200,10 @@ static bool tcp_small_queue_check(struct sock *sk, const struct sk_buff *skb, | |||
2200 | static void tcp_chrono_set(struct tcp_sock *tp, const enum tcp_chrono new) | 2200 | static void tcp_chrono_set(struct tcp_sock *tp, const enum tcp_chrono new) |
2201 | { | 2201 | { |
2202 | const u32 now = tcp_jiffies32; | 2202 | const u32 now = tcp_jiffies32; |
2203 | enum tcp_chrono old = tp->chrono_type; | ||
2203 | 2204 | ||
2204 | if (tp->chrono_type > TCP_CHRONO_UNSPEC) | 2205 | if (old > TCP_CHRONO_UNSPEC) |
2205 | tp->chrono_stat[tp->chrono_type - 1] += now - tp->chrono_start; | 2206 | tp->chrono_stat[old - 1] += now - tp->chrono_start; |
2206 | tp->chrono_start = now; | 2207 | tp->chrono_start = now; |
2207 | tp->chrono_type = new; | 2208 | tp->chrono_type = new; |
2208 | } | 2209 | } |