Merge tag 'v3.10.108' into update
authorStricted <info@stricted.net>
Wed, 21 Mar 2018 22:07:40 +0000 (23:07 +0100)
committerStricted <info@stricted.net>
Wed, 21 Mar 2018 22:07:40 +0000 (23:07 +0100)
This is the 3.10.108 stable release

25 files changed:
1  2 
Makefile
drivers/md/md.c
drivers/usb/gadget/composite.c
fs/direct-io.c
fs/exec.c
fs/ext4/inode.c
fs/fuse/file.c
include/net/ipv6.h
include/net/tcp.h
kernel/trace/trace.c
kernel/workqueue.c
mm/mmap.c
mm/page_alloc.c
net/core/dev.c
net/core/sock.c
net/ipv4/af_inet.c
net/ipv4/fib_frontend.c
net/ipv4/ip_output.c
net/ipv4/tcp.c
net/ipv4/tcp_input.c
net/ipv4/tcp_output.c
net/ipv4/udp.c
net/ipv6/addrconf.c
net/ipv6/raw.c
net/wireless/nl80211.c

diff --cc Makefile
Simple merge
diff --cc drivers/md/md.c
Simple merge
Simple merge
diff --cc fs/direct-io.c
Simple merge
diff --cc fs/exec.c
Simple merge
diff --cc fs/ext4/inode.c
Simple merge
diff --cc fs/fuse/file.c
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
diff --cc mm/mmap.c
Simple merge
diff --cc mm/page_alloc.c
Simple merge
diff --cc net/core/dev.c
Simple merge
diff --cc net/core/sock.c
Simple merge
Simple merge
Simple merge
Simple merge
diff --cc net/ipv4/tcp.c
Simple merge
index 094515e751d01c323f6600356cf072d0a723d457,85dd09be16182ad882b66a71e33541433dd2c2ea..41ef73a7cb66102f1923f44aa6a104da87eeaac0
@@@ -3013,11 -2977,10 +3012,10 @@@ void tcp_rearm_rto(struct sock *sk
                        /* delta may not be positive if the socket is locked
                         * when the retrans timer fires and is rescheduled.
                         */
-                       if (delta > 0)
-                               rto = delta;
+                       rto = max_t(int, delta, 1);
                }
                inet_csk_reset_xmit_timer(sk, ICSK_TIME_RETRANS, rto,
 -                                        TCP_RTO_MAX);
 +                                        sysctl_tcp_rto_max);
        }
  }
  
index 77e6a9d36023ef9e97dc9536cb61d83b9da6d9a4,f5d670ccd403b3215d7a9ed49ea8b3d9ef8c08e6..f51287dac700d7088aa8a867cbb77ee9d4012890
@@@ -1986,17 -1975,13 +1974,13 @@@ bool tcp_schedule_loss_probe(struct soc
                                (rtt + (rtt >> 1) + TCP_DELACK_MAX));
        timeout = max_t(u32, timeout, msecs_to_jiffies(10));
  
-       /* If RTO is shorter, just schedule TLP in its place. */
-       tlp_time_stamp = tcp_time_stamp + timeout;
-       rto_time_stamp = (u32)inet_csk(sk)->icsk_timeout;
-       if ((s32)(tlp_time_stamp - rto_time_stamp) > 0) {
-               s32 delta = rto_time_stamp - tcp_time_stamp;
-               if (delta > 0)
-                       timeout = delta;
-       }
+       /* If the RTO formula yields an earlier time, then use that time. */
+       rto_delta = tcp_rto_delta(sk);  /* How far in future is RTO? */
+       if (rto_delta > 0)
+               timeout = min_t(u32, timeout, rto_delta);
  
        inet_csk_reset_xmit_timer(sk, ICSK_TIME_LOSS_PROBE, timeout,
 -                                TCP_RTO_MAX);
 +                                sysctl_tcp_rto_max);
        return true;
  }
  
diff --cc net/ipv4/udp.c
Simple merge
Simple merge
diff --cc net/ipv6/raw.c
Simple merge
Simple merge