mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-03-09 15:40:20 +00:00
Update MPTCP 0.95
This commit is contained in:
parent
fb31f0fe9a
commit
e63031f482
1 changed files with 231 additions and 208 deletions
|
@ -1,6 +1,6 @@
|
|||
diff -aurN linux-4.19.55/Documentation/networking/ip-sysctl.txt mptcp-mptcp_v0.95/Documentation/networking/ip-sysctl.txt
|
||||
--- linux-4.19.55/Documentation/networking/ip-sysctl.txt 2019-06-22 11:23:18.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/Documentation/networking/ip-sysctl.txt 2019-06-24 09:39:58.000000000 +0200
|
||||
diff -aurN linux-4.19.56/Documentation/networking/ip-sysctl.txt mptcp-mptcp_v0.95/Documentation/networking/ip-sysctl.txt
|
||||
--- linux-4.19.56/Documentation/networking/ip-sysctl.txt 2019-06-25 05:36:02.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/Documentation/networking/ip-sysctl.txt 2019-07-05 08:00:07.000000000 +0200
|
||||
@@ -763,6 +763,18 @@
|
||||
in RFC 5961 (Improving TCP's Robustness to Blind In-Window Attacks)
|
||||
Default: 100
|
||||
|
@ -20,9 +20,9 @@ diff -aurN linux-4.19.55/Documentation/networking/ip-sysctl.txt mptcp-mptcp_v0.9
|
|||
UDP variables:
|
||||
|
||||
udp_l3mdev_accept - BOOLEAN
|
||||
diff -aurN linux-4.19.55/drivers/infiniband/hw/cxgb4/cm.c mptcp-mptcp_v0.95/drivers/infiniband/hw/cxgb4/cm.c
|
||||
--- linux-4.19.55/drivers/infiniband/hw/cxgb4/cm.c 2019-06-22 11:23:18.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/drivers/infiniband/hw/cxgb4/cm.c 2019-06-24 09:39:58.000000000 +0200
|
||||
diff -aurN linux-4.19.56/drivers/infiniband/hw/cxgb4/cm.c mptcp-mptcp_v0.95/drivers/infiniband/hw/cxgb4/cm.c
|
||||
--- linux-4.19.56/drivers/infiniband/hw/cxgb4/cm.c 2019-06-25 05:36:02.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/drivers/infiniband/hw/cxgb4/cm.c 2019-07-05 08:00:07.000000000 +0200
|
||||
@@ -3779,7 +3779,7 @@
|
||||
*/
|
||||
memset(&tmp_opt, 0, sizeof(tmp_opt));
|
||||
|
@ -32,9 +32,9 @@ diff -aurN linux-4.19.55/drivers/infiniband/hw/cxgb4/cm.c mptcp-mptcp_v0.95/driv
|
|||
|
||||
req = __skb_push(skb, sizeof(*req));
|
||||
memset(req, 0, sizeof(*req));
|
||||
diff -aurN linux-4.19.55/include/linux/skbuff.h mptcp-mptcp_v0.95/include/linux/skbuff.h
|
||||
--- linux-4.19.55/include/linux/skbuff.h 2019-06-22 11:23:18.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/include/linux/skbuff.h 2019-06-24 09:39:58.000000000 +0200
|
||||
diff -aurN linux-4.19.56/include/linux/skbuff.h mptcp-mptcp_v0.95/include/linux/skbuff.h
|
||||
--- linux-4.19.56/include/linux/skbuff.h 2019-06-25 05:36:02.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/include/linux/skbuff.h 2019-07-05 08:00:07.000000000 +0200
|
||||
@@ -697,7 +697,7 @@
|
||||
* want to keep them across layers you have to do a skb_clone()
|
||||
* first. This is owned by whoever has the skb queued ATM.
|
||||
|
@ -44,9 +44,9 @@ diff -aurN linux-4.19.55/include/linux/skbuff.h mptcp-mptcp_v0.95/include/linux/
|
|||
|
||||
union {
|
||||
struct {
|
||||
diff -aurN linux-4.19.55/include/linux/tcp.h mptcp-mptcp_v0.95/include/linux/tcp.h
|
||||
--- linux-4.19.55/include/linux/tcp.h 2019-06-22 11:23:18.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/include/linux/tcp.h 2019-06-24 09:39:58.000000000 +0200
|
||||
diff -aurN linux-4.19.56/include/linux/tcp.h mptcp-mptcp_v0.95/include/linux/tcp.h
|
||||
--- linux-4.19.56/include/linux/tcp.h 2019-06-25 05:36:02.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/include/linux/tcp.h 2019-07-05 08:00:07.000000000 +0200
|
||||
@@ -58,7 +58,7 @@
|
||||
/* TCP Fast Open */
|
||||
#define TCP_FASTOPEN_COOKIE_MIN 4 /* Min Fast Open Cookie size in bytes */
|
||||
|
@ -203,9 +203,9 @@ diff -aurN linux-4.19.55/include/linux/tcp.h mptcp-mptcp_v0.95/include/linux/tcp
|
|||
};
|
||||
|
||||
static inline struct tcp_timewait_sock *tcp_twsk(const struct sock *sk)
|
||||
diff -aurN linux-4.19.55/include/net/inet_common.h mptcp-mptcp_v0.95/include/net/inet_common.h
|
||||
--- linux-4.19.55/include/net/inet_common.h 2019-06-22 11:23:18.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/include/net/inet_common.h 2019-06-24 09:39:58.000000000 +0200
|
||||
diff -aurN linux-4.19.56/include/net/inet_common.h mptcp-mptcp_v0.95/include/net/inet_common.h
|
||||
--- linux-4.19.56/include/net/inet_common.h 2019-06-25 05:36:02.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/include/net/inet_common.h 2019-07-05 08:00:07.000000000 +0200
|
||||
@@ -2,6 +2,8 @@
|
||||
#ifndef _INET_COMMON_H
|
||||
#define _INET_COMMON_H
|
||||
|
@ -224,9 +224,9 @@ diff -aurN linux-4.19.55/include/net/inet_common.h mptcp-mptcp_v0.95/include/net
|
|||
int inet_release(struct socket *sock);
|
||||
int inet_stream_connect(struct socket *sock, struct sockaddr *uaddr,
|
||||
int addr_len, int flags);
|
||||
diff -aurN linux-4.19.55/include/net/inet_connection_sock.h mptcp-mptcp_v0.95/include/net/inet_connection_sock.h
|
||||
--- linux-4.19.55/include/net/inet_connection_sock.h 2019-06-22 11:23:18.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/include/net/inet_connection_sock.h 2019-06-24 09:39:58.000000000 +0200
|
||||
diff -aurN linux-4.19.56/include/net/inet_connection_sock.h mptcp-mptcp_v0.95/include/net/inet_connection_sock.h
|
||||
--- linux-4.19.56/include/net/inet_connection_sock.h 2019-06-25 05:36:02.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/include/net/inet_connection_sock.h 2019-07-05 08:00:07.000000000 +0200
|
||||
@@ -29,6 +29,7 @@
|
||||
|
||||
struct inet_bind_bucket;
|
||||
|
@ -235,9 +235,9 @@ diff -aurN linux-4.19.55/include/net/inet_connection_sock.h mptcp-mptcp_v0.95/in
|
|||
|
||||
/*
|
||||
* Pointers to address related TCP functions
|
||||
diff -aurN linux-4.19.55/include/net/inet_sock.h mptcp-mptcp_v0.95/include/net/inet_sock.h
|
||||
--- linux-4.19.55/include/net/inet_sock.h 2019-06-22 11:23:18.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/include/net/inet_sock.h 2019-06-24 09:39:58.000000000 +0200
|
||||
diff -aurN linux-4.19.56/include/net/inet_sock.h mptcp-mptcp_v0.95/include/net/inet_sock.h
|
||||
--- linux-4.19.56/include/net/inet_sock.h 2019-06-25 05:36:02.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/include/net/inet_sock.h 2019-07-05 08:00:07.000000000 +0200
|
||||
@@ -83,7 +83,7 @@
|
||||
#define ireq_state req.__req_common.skc_state
|
||||
#define ireq_family req.__req_common.skc_family
|
||||
|
@ -256,9 +256,9 @@ diff -aurN linux-4.19.55/include/net/inet_sock.h mptcp-mptcp_v0.95/include/net/i
|
|||
smc_ok : 1;
|
||||
u32 ir_mark;
|
||||
union {
|
||||
diff -aurN linux-4.19.55/include/net/mptcp.h mptcp-mptcp_v0.95/include/net/mptcp.h
|
||||
--- linux-4.19.55/include/net/mptcp.h 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ mptcp-mptcp_v0.95/include/net/mptcp.h 2019-06-24 09:39:58.000000000 +0200
|
||||
diff -aurN linux-4.19.56/include/net/mptcp.h mptcp-mptcp_v0.95/include/net/mptcp.h
|
||||
--- linux-4.19.56/include/net/mptcp.h 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ mptcp-mptcp_v0.95/include/net/mptcp.h 2019-07-05 08:00:07.000000000 +0200
|
||||
@@ -0,0 +1,1491 @@
|
||||
+/*
|
||||
+ * MPTCP implementation
|
||||
|
@ -548,7 +548,7 @@ diff -aurN linux-4.19.55/include/net/mptcp.h mptcp-mptcp_v0.95/include/net/mptcp
|
|||
+
|
||||
+#define MPTCP_SCHED_DATA_SIZE 8
|
||||
+ u8 mptcp_sched[MPTCP_SCHED_DATA_SIZE] __aligned(8);
|
||||
+ struct mptcp_sched_ops *sched_ops;
|
||||
+ const struct mptcp_sched_ops *sched_ops;
|
||||
+
|
||||
+ struct sk_buff_head reinject_queue;
|
||||
+ /* First cache-line boundary is here minus 8 bytes. But from the
|
||||
|
@ -589,7 +589,7 @@ diff -aurN linux-4.19.55/include/net/mptcp.h mptcp-mptcp_v0.95/include/net/mptcp
|
|||
+
|
||||
+#define MPTCP_PM_SIZE 608
|
||||
+ u8 mptcp_pm[MPTCP_PM_SIZE] __aligned(8);
|
||||
+ struct mptcp_pm_ops *pm_ops;
|
||||
+ const struct mptcp_pm_ops *pm_ops;
|
||||
+
|
||||
+ unsigned long path_index_bits;
|
||||
+
|
||||
|
@ -1751,9 +1751,9 @@ diff -aurN linux-4.19.55/include/net/mptcp.h mptcp-mptcp_v0.95/include/net/mptcp
|
|||
+#endif /* CONFIG_MPTCP */
|
||||
+
|
||||
+#endif /* _MPTCP_H */
|
||||
diff -aurN linux-4.19.55/include/net/mptcp_v4.h mptcp-mptcp_v0.95/include/net/mptcp_v4.h
|
||||
--- linux-4.19.55/include/net/mptcp_v4.h 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ mptcp-mptcp_v0.95/include/net/mptcp_v4.h 2019-06-24 09:39:58.000000000 +0200
|
||||
diff -aurN linux-4.19.56/include/net/mptcp_v4.h mptcp-mptcp_v0.95/include/net/mptcp_v4.h
|
||||
--- linux-4.19.56/include/net/mptcp_v4.h 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ mptcp-mptcp_v0.95/include/net/mptcp_v4.h 2019-07-05 08:00:07.000000000 +0200
|
||||
@@ -0,0 +1,76 @@
|
||||
+/*
|
||||
+ * MPTCP implementation
|
||||
|
@ -1831,9 +1831,9 @@ diff -aurN linux-4.19.55/include/net/mptcp_v4.h mptcp-mptcp_v0.95/include/net/mp
|
|||
+#endif /* CONFIG_MPTCP */
|
||||
+
|
||||
+#endif /* MPTCP_V4_H_ */
|
||||
diff -aurN linux-4.19.55/include/net/mptcp_v6.h mptcp-mptcp_v0.95/include/net/mptcp_v6.h
|
||||
--- linux-4.19.55/include/net/mptcp_v6.h 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ mptcp-mptcp_v0.95/include/net/mptcp_v6.h 2019-06-24 09:39:58.000000000 +0200
|
||||
diff -aurN linux-4.19.56/include/net/mptcp_v6.h mptcp-mptcp_v0.95/include/net/mptcp_v6.h
|
||||
--- linux-4.19.56/include/net/mptcp_v6.h 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ mptcp-mptcp_v0.95/include/net/mptcp_v6.h 2019-07-05 08:00:07.000000000 +0200
|
||||
@@ -0,0 +1,77 @@
|
||||
+/*
|
||||
+ * MPTCP implementation
|
||||
|
@ -1912,9 +1912,9 @@ diff -aurN linux-4.19.55/include/net/mptcp_v6.h mptcp-mptcp_v0.95/include/net/mp
|
|||
+#endif /* CONFIG_MPTCP */
|
||||
+
|
||||
+#endif /* _MPTCP_V6_H */
|
||||
diff -aurN linux-4.19.55/include/net/net_namespace.h mptcp-mptcp_v0.95/include/net/net_namespace.h
|
||||
--- linux-4.19.55/include/net/net_namespace.h 2019-06-22 11:23:18.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/include/net/net_namespace.h 2019-06-24 09:39:58.000000000 +0200
|
||||
diff -aurN linux-4.19.56/include/net/net_namespace.h mptcp-mptcp_v0.95/include/net/net_namespace.h
|
||||
--- linux-4.19.56/include/net/net_namespace.h 2019-06-25 05:36:02.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/include/net/net_namespace.h 2019-07-05 08:00:07.000000000 +0200
|
||||
@@ -19,6 +19,7 @@
|
||||
#include <net/netns/packet.h>
|
||||
#include <net/netns/ipv4.h>
|
||||
|
@ -1933,9 +1933,9 @@ diff -aurN linux-4.19.55/include/net/net_namespace.h mptcp-mptcp_v0.95/include/n
|
|||
#if IS_ENABLED(CONFIG_IEEE802154_6LOWPAN)
|
||||
struct netns_ieee802154_lowpan ieee802154_lowpan;
|
||||
#endif
|
||||
diff -aurN linux-4.19.55/include/net/netns/mptcp.h mptcp-mptcp_v0.95/include/net/netns/mptcp.h
|
||||
--- linux-4.19.55/include/net/netns/mptcp.h 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ mptcp-mptcp_v0.95/include/net/netns/mptcp.h 2019-06-24 09:39:58.000000000 +0200
|
||||
diff -aurN linux-4.19.56/include/net/netns/mptcp.h mptcp-mptcp_v0.95/include/net/netns/mptcp.h
|
||||
--- linux-4.19.56/include/net/netns/mptcp.h 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ mptcp-mptcp_v0.95/include/net/netns/mptcp.h 2019-07-05 08:00:07.000000000 +0200
|
||||
@@ -0,0 +1,52 @@
|
||||
+/*
|
||||
+ * MPTCP implementation - MPTCP namespace
|
||||
|
@ -1989,9 +1989,9 @@ diff -aurN linux-4.19.55/include/net/netns/mptcp.h mptcp-mptcp_v0.95/include/net
|
|||
+};
|
||||
+
|
||||
+#endif /* __NETNS_MPTCP_H__ */
|
||||
diff -aurN linux-4.19.55/include/net/snmp.h mptcp-mptcp_v0.95/include/net/snmp.h
|
||||
--- linux-4.19.55/include/net/snmp.h 2019-06-22 11:23:18.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/include/net/snmp.h 2019-06-24 09:39:58.000000000 +0200
|
||||
diff -aurN linux-4.19.56/include/net/snmp.h mptcp-mptcp_v0.95/include/net/snmp.h
|
||||
--- linux-4.19.56/include/net/snmp.h 2019-06-25 05:36:02.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/include/net/snmp.h 2019-07-05 08:00:07.000000000 +0200
|
||||
@@ -91,7 +91,6 @@
|
||||
atomic_long_t mibs[ICMP6MSG_MIB_MAX];
|
||||
};
|
||||
|
@ -2000,9 +2000,9 @@ diff -aurN linux-4.19.55/include/net/snmp.h mptcp-mptcp_v0.95/include/net/snmp.h
|
|||
/* TCP */
|
||||
#define TCP_MIB_MAX __TCP_MIB_MAX
|
||||
struct tcp_mib {
|
||||
diff -aurN linux-4.19.55/include/net/sock.h mptcp-mptcp_v0.95/include/net/sock.h
|
||||
--- linux-4.19.55/include/net/sock.h 2019-06-22 11:23:18.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/include/net/sock.h 2019-06-24 09:39:58.000000000 +0200
|
||||
diff -aurN linux-4.19.56/include/net/sock.h mptcp-mptcp_v0.95/include/net/sock.h
|
||||
--- linux-4.19.56/include/net/sock.h 2019-06-25 05:36:02.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/include/net/sock.h 2019-07-05 08:00:07.000000000 +0200
|
||||
@@ -810,6 +810,7 @@
|
||||
SOCK_SELECT_ERR_QUEUE, /* Wake select on error queue */
|
||||
SOCK_RCU_FREE, /* wait rcu grace period in sk_destruct() */
|
||||
|
@ -2019,9 +2019,9 @@ diff -aurN linux-4.19.55/include/net/sock.h mptcp-mptcp_v0.95/include/net/sock.h
|
|||
|
||||
/* Keeping track of sockets in use */
|
||||
#ifdef CONFIG_PROC_FS
|
||||
diff -aurN linux-4.19.55/include/net/tcp.h mptcp-mptcp_v0.95/include/net/tcp.h
|
||||
--- linux-4.19.55/include/net/tcp.h 2019-06-22 11:23:18.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/include/net/tcp.h 2019-06-24 09:39:58.000000000 +0200
|
||||
diff -aurN linux-4.19.56/include/net/tcp.h mptcp-mptcp_v0.95/include/net/tcp.h
|
||||
--- linux-4.19.56/include/net/tcp.h 2019-06-25 05:36:02.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/include/net/tcp.h 2019-07-05 08:00:07.000000000 +0200
|
||||
@@ -185,6 +185,7 @@
|
||||
#define TCPOPT_SACK 5 /* SACK Block */
|
||||
#define TCPOPT_TIMESTAMP 8 /* Better RTT estimations/PAWS */
|
||||
|
@ -2341,9 +2341,9 @@ diff -aurN linux-4.19.55/include/net/tcp.h mptcp-mptcp_v0.95/include/net/tcp.h
|
|||
const struct sock *sk, struct sk_buff *skb,
|
||||
__u16 *mss)
|
||||
{
|
||||
diff -aurN linux-4.19.55/include/net/tcp_states.h mptcp-mptcp_v0.95/include/net/tcp_states.h
|
||||
--- linux-4.19.55/include/net/tcp_states.h 2019-06-22 11:23:18.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/include/net/tcp_states.h 2019-06-24 09:39:58.000000000 +0200
|
||||
diff -aurN linux-4.19.56/include/net/tcp_states.h mptcp-mptcp_v0.95/include/net/tcp_states.h
|
||||
--- linux-4.19.56/include/net/tcp_states.h 2019-06-25 05:36:02.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/include/net/tcp_states.h 2019-07-05 08:00:07.000000000 +0200
|
||||
@@ -26,6 +26,7 @@
|
||||
TCP_LISTEN,
|
||||
TCP_CLOSING, /* Now a valid state */
|
||||
|
@ -2360,9 +2360,9 @@ diff -aurN linux-4.19.55/include/net/tcp_states.h mptcp-mptcp_v0.95/include/net/
|
|||
};
|
||||
|
||||
#endif /* _LINUX_TCP_STATES_H */
|
||||
diff -aurN linux-4.19.55/include/net/transp_v6.h mptcp-mptcp_v0.95/include/net/transp_v6.h
|
||||
--- linux-4.19.55/include/net/transp_v6.h 2019-06-22 11:23:18.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/include/net/transp_v6.h 2019-06-24 09:39:58.000000000 +0200
|
||||
diff -aurN linux-4.19.56/include/net/transp_v6.h mptcp-mptcp_v0.95/include/net/transp_v6.h
|
||||
--- linux-4.19.56/include/net/transp_v6.h 2019-06-25 05:36:02.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/include/net/transp_v6.h 2019-07-05 08:00:07.000000000 +0200
|
||||
@@ -58,6 +58,8 @@
|
||||
|
||||
/* address family specific functions */
|
||||
|
@ -2372,9 +2372,9 @@ diff -aurN linux-4.19.55/include/net/transp_v6.h mptcp-mptcp_v0.95/include/net/t
|
|||
|
||||
void inet6_destroy_sock(struct sock *sk);
|
||||
|
||||
diff -aurN linux-4.19.55/include/trace/events/tcp.h mptcp-mptcp_v0.95/include/trace/events/tcp.h
|
||||
--- linux-4.19.55/include/trace/events/tcp.h 2019-06-22 11:23:18.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/include/trace/events/tcp.h 2019-06-24 09:39:58.000000000 +0200
|
||||
diff -aurN linux-4.19.56/include/trace/events/tcp.h mptcp-mptcp_v0.95/include/trace/events/tcp.h
|
||||
--- linux-4.19.56/include/trace/events/tcp.h 2019-06-25 05:36:02.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/include/trace/events/tcp.h 2019-07-05 08:00:07.000000000 +0200
|
||||
@@ -10,6 +10,7 @@
|
||||
#include <linux/tracepoint.h>
|
||||
#include <net/ipv6.h>
|
||||
|
@ -2423,9 +2423,9 @@ diff -aurN linux-4.19.55/include/trace/events/tcp.h mptcp-mptcp_v0.95/include/tr
|
|||
);
|
||||
|
||||
#endif /* _TRACE_TCP_H */
|
||||
diff -aurN linux-4.19.55/include/uapi/linux/bpf.h mptcp-mptcp_v0.95/include/uapi/linux/bpf.h
|
||||
--- linux-4.19.55/include/uapi/linux/bpf.h 2019-06-22 11:23:18.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/include/uapi/linux/bpf.h 2019-06-24 09:39:58.000000000 +0200
|
||||
diff -aurN linux-4.19.56/include/uapi/linux/bpf.h mptcp-mptcp_v0.95/include/uapi/linux/bpf.h
|
||||
--- linux-4.19.56/include/uapi/linux/bpf.h 2019-06-25 05:36:02.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/include/uapi/linux/bpf.h 2019-07-05 08:00:07.000000000 +0200
|
||||
@@ -2671,6 +2671,7 @@
|
||||
BPF_TCP_LISTEN,
|
||||
BPF_TCP_CLOSING, /* Now a valid state */
|
||||
|
@ -2434,9 +2434,9 @@ diff -aurN linux-4.19.55/include/uapi/linux/bpf.h mptcp-mptcp_v0.95/include/uapi
|
|||
|
||||
BPF_TCP_MAX_STATES /* Leave at the end! */
|
||||
};
|
||||
diff -aurN linux-4.19.55/include/uapi/linux/if.h mptcp-mptcp_v0.95/include/uapi/linux/if.h
|
||||
--- linux-4.19.55/include/uapi/linux/if.h 2019-06-22 11:23:18.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/include/uapi/linux/if.h 2019-06-24 09:39:58.000000000 +0200
|
||||
diff -aurN linux-4.19.56/include/uapi/linux/if.h mptcp-mptcp_v0.95/include/uapi/linux/if.h
|
||||
--- linux-4.19.56/include/uapi/linux/if.h 2019-06-25 05:36:02.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/include/uapi/linux/if.h 2019-07-05 08:00:07.000000000 +0200
|
||||
@@ -132,6 +132,9 @@
|
||||
#define IFF_ECHO IFF_ECHO
|
||||
#endif /* __UAPI_DEF_IF_NET_DEVICE_FLAGS_LOWER_UP_DORMANT_ECHO */
|
||||
|
@ -2447,9 +2447,9 @@ diff -aurN linux-4.19.55/include/uapi/linux/if.h mptcp-mptcp_v0.95/include/uapi/
|
|||
#define IFF_VOLATILE (IFF_LOOPBACK|IFF_POINTOPOINT|IFF_BROADCAST|IFF_ECHO|\
|
||||
IFF_MASTER|IFF_SLAVE|IFF_RUNNING|IFF_LOWER_UP|IFF_DORMANT)
|
||||
|
||||
diff -aurN linux-4.19.55/include/uapi/linux/mptcp.h mptcp-mptcp_v0.95/include/uapi/linux/mptcp.h
|
||||
--- linux-4.19.55/include/uapi/linux/mptcp.h 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ mptcp-mptcp_v0.95/include/uapi/linux/mptcp.h 2019-06-24 09:39:58.000000000 +0200
|
||||
diff -aurN linux-4.19.56/include/uapi/linux/mptcp.h mptcp-mptcp_v0.95/include/uapi/linux/mptcp.h
|
||||
--- linux-4.19.56/include/uapi/linux/mptcp.h 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ mptcp-mptcp_v0.95/include/uapi/linux/mptcp.h 2019-07-05 08:00:07.000000000 +0200
|
||||
@@ -0,0 +1,149 @@
|
||||
+/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
||||
+/*
|
||||
|
@ -2600,9 +2600,9 @@ diff -aurN linux-4.19.55/include/uapi/linux/mptcp.h mptcp-mptcp_v0.95/include/ua
|
|||
+};
|
||||
+
|
||||
+#endif /* _LINUX_MPTCP_H */
|
||||
diff -aurN linux-4.19.55/include/uapi/linux/tcp.h mptcp-mptcp_v0.95/include/uapi/linux/tcp.h
|
||||
--- linux-4.19.55/include/uapi/linux/tcp.h 2019-06-22 11:23:18.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/include/uapi/linux/tcp.h 2019-06-24 09:39:58.000000000 +0200
|
||||
diff -aurN linux-4.19.56/include/uapi/linux/tcp.h mptcp-mptcp_v0.95/include/uapi/linux/tcp.h
|
||||
--- linux-4.19.56/include/uapi/linux/tcp.h 2019-06-25 05:36:02.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/include/uapi/linux/tcp.h 2019-07-05 08:00:07.000000000 +0200
|
||||
@@ -18,9 +18,15 @@
|
||||
#ifndef _UAPI_LINUX_TCP_H
|
||||
#define _UAPI_LINUX_TCP_H
|
||||
|
@ -2688,9 +2688,9 @@ diff -aurN linux-4.19.55/include/uapi/linux/tcp.h mptcp-mptcp_v0.95/include/uapi
|
|||
/* for TCP_MD5SIG socket option */
|
||||
#define TCP_MD5SIG_MAXKEYLEN 80
|
||||
|
||||
diff -aurN linux-4.19.55/net/core/dev.c mptcp-mptcp_v0.95/net/core/dev.c
|
||||
--- linux-4.19.55/net/core/dev.c 2019-06-22 11:23:18.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/net/core/dev.c 2019-06-24 09:39:58.000000000 +0200
|
||||
diff -aurN linux-4.19.56/net/core/dev.c mptcp-mptcp_v0.95/net/core/dev.c
|
||||
--- linux-4.19.56/net/core/dev.c 2019-06-25 05:36:02.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/net/core/dev.c 2019-07-05 08:00:07.000000000 +0200
|
||||
@@ -7471,7 +7471,7 @@
|
||||
|
||||
dev->flags = (flags & (IFF_DEBUG | IFF_NOTRAILERS | IFF_NOARP |
|
||||
|
@ -2700,9 +2700,9 @@ diff -aurN linux-4.19.55/net/core/dev.c mptcp-mptcp_v0.95/net/core/dev.c
|
|||
(dev->flags & (IFF_UP | IFF_VOLATILE | IFF_PROMISC |
|
||||
IFF_ALLMULTI));
|
||||
|
||||
diff -aurN linux-4.19.55/net/core/skbuff.c mptcp-mptcp_v0.95/net/core/skbuff.c
|
||||
--- linux-4.19.55/net/core/skbuff.c 2019-06-22 11:23:18.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/net/core/skbuff.c 2019-06-24 09:39:58.000000000 +0200
|
||||
diff -aurN linux-4.19.56/net/core/skbuff.c mptcp-mptcp_v0.95/net/core/skbuff.c
|
||||
--- linux-4.19.56/net/core/skbuff.c 2019-06-25 05:36:02.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/net/core/skbuff.c 2019-07-05 08:00:07.000000000 +0200
|
||||
@@ -536,7 +536,7 @@
|
||||
skb_drop_list(&skb_shinfo(skb)->frag_list);
|
||||
}
|
||||
|
@ -2712,9 +2712,9 @@ diff -aurN linux-4.19.55/net/core/skbuff.c mptcp-mptcp_v0.95/net/core/skbuff.c
|
|||
{
|
||||
struct sk_buff *list;
|
||||
|
||||
diff -aurN linux-4.19.55/net/core/sock.c mptcp-mptcp_v0.95/net/core/sock.c
|
||||
--- linux-4.19.55/net/core/sock.c 2019-06-22 11:23:18.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/net/core/sock.c 2019-06-24 09:39:58.000000000 +0200
|
||||
diff -aurN linux-4.19.56/net/core/sock.c mptcp-mptcp_v0.95/net/core/sock.c
|
||||
--- linux-4.19.56/net/core/sock.c 2019-06-25 05:36:02.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/net/core/sock.c 2019-07-05 08:00:07.000000000 +0200
|
||||
@@ -140,6 +140,11 @@
|
||||
|
||||
#include <trace/events/sock.h>
|
||||
|
@ -2774,9 +2774,9 @@ diff -aurN linux-4.19.55/net/core/sock.c mptcp-mptcp_v0.95/net/core/sock.c
|
|||
mem_cgroup_sk_alloc(newsk);
|
||||
cgroup_sk_alloc(&newsk->sk_cgrp_data);
|
||||
|
||||
diff -aurN linux-4.19.55/net/ipv4/af_inet.c mptcp-mptcp_v0.95/net/ipv4/af_inet.c
|
||||
--- linux-4.19.55/net/ipv4/af_inet.c 2019-06-22 11:23:18.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/net/ipv4/af_inet.c 2019-06-24 09:39:58.000000000 +0200
|
||||
diff -aurN linux-4.19.56/net/ipv4/af_inet.c mptcp-mptcp_v0.95/net/ipv4/af_inet.c
|
||||
--- linux-4.19.56/net/ipv4/af_inet.c 2019-06-25 05:36:02.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/net/ipv4/af_inet.c 2019-07-05 08:00:07.000000000 +0200
|
||||
@@ -104,6 +104,7 @@
|
||||
#include <net/ip_fib.h>
|
||||
#include <net/inet_connection_sock.h>
|
||||
|
@ -2840,9 +2840,9 @@ diff -aurN linux-4.19.55/net/ipv4/af_inet.c mptcp-mptcp_v0.95/net/ipv4/af_inet.c
|
|||
/* Setup TCP slab cache for open requests. */
|
||||
tcp_init();
|
||||
|
||||
diff -aurN linux-4.19.55/net/ipv4/inet_connection_sock.c mptcp-mptcp_v0.95/net/ipv4/inet_connection_sock.c
|
||||
--- linux-4.19.55/net/ipv4/inet_connection_sock.c 2019-06-22 11:23:18.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/net/ipv4/inet_connection_sock.c 2019-06-24 09:39:58.000000000 +0200
|
||||
diff -aurN linux-4.19.56/net/ipv4/inet_connection_sock.c mptcp-mptcp_v0.95/net/ipv4/inet_connection_sock.c
|
||||
--- linux-4.19.56/net/ipv4/inet_connection_sock.c 2019-06-25 05:36:02.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/net/ipv4/inet_connection_sock.c 2019-07-05 08:00:07.000000000 +0200
|
||||
@@ -23,6 +23,7 @@
|
||||
#include <net/route.h>
|
||||
#include <net/tcp_states.h>
|
||||
|
@ -2900,9 +2900,9 @@ diff -aurN linux-4.19.55/net/ipv4/inet_connection_sock.c mptcp-mptcp_v0.95/net/i
|
|||
sock_put(child);
|
||||
|
||||
cond_resched();
|
||||
diff -aurN linux-4.19.55/net/ipv4/ip_sockglue.c mptcp-mptcp_v0.95/net/ipv4/ip_sockglue.c
|
||||
--- linux-4.19.55/net/ipv4/ip_sockglue.c 2019-06-22 11:23:18.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/net/ipv4/ip_sockglue.c 2019-06-24 09:39:58.000000000 +0200
|
||||
diff -aurN linux-4.19.56/net/ipv4/ip_sockglue.c mptcp-mptcp_v0.95/net/ipv4/ip_sockglue.c
|
||||
--- linux-4.19.56/net/ipv4/ip_sockglue.c 2019-06-25 05:36:02.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/net/ipv4/ip_sockglue.c 2019-07-05 08:00:07.000000000 +0200
|
||||
@@ -44,6 +44,8 @@
|
||||
#endif
|
||||
#include <net/ip_fib.h>
|
||||
|
@ -2942,9 +2942,9 @@ diff -aurN linux-4.19.55/net/ipv4/ip_sockglue.c mptcp-mptcp_v0.95/net/ipv4/ip_so
|
|||
}
|
||||
break;
|
||||
case IP_TTL:
|
||||
diff -aurN linux-4.19.55/net/ipv4/Kconfig mptcp-mptcp_v0.95/net/ipv4/Kconfig
|
||||
--- linux-4.19.55/net/ipv4/Kconfig 2019-06-22 11:23:18.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/net/ipv4/Kconfig 2019-06-24 09:39:58.000000000 +0200
|
||||
diff -aurN linux-4.19.56/net/ipv4/Kconfig mptcp-mptcp_v0.95/net/ipv4/Kconfig
|
||||
--- linux-4.19.56/net/ipv4/Kconfig 2019-06-25 05:36:02.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/net/ipv4/Kconfig 2019-07-05 08:00:07.000000000 +0200
|
||||
@@ -680,6 +680,51 @@
|
||||
bufferbloat, policers, or AQM schemes that do not provide a delay
|
||||
signal. It requires the fq ("Fair Queue") pacing packet scheduler.
|
||||
|
@ -3030,9 +3030,9 @@ diff -aurN linux-4.19.55/net/ipv4/Kconfig mptcp-mptcp_v0.95/net/ipv4/Kconfig
|
|||
default "reno" if DEFAULT_RENO
|
||||
default "dctcp" if DEFAULT_DCTCP
|
||||
default "cdg" if DEFAULT_CDG
|
||||
diff -aurN linux-4.19.55/net/ipv4/syncookies.c mptcp-mptcp_v0.95/net/ipv4/syncookies.c
|
||||
--- linux-4.19.55/net/ipv4/syncookies.c 2019-06-22 11:23:18.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/net/ipv4/syncookies.c 2019-06-24 09:39:58.000000000 +0200
|
||||
diff -aurN linux-4.19.56/net/ipv4/syncookies.c mptcp-mptcp_v0.95/net/ipv4/syncookies.c
|
||||
--- linux-4.19.56/net/ipv4/syncookies.c 2019-06-25 05:36:02.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/net/ipv4/syncookies.c 2019-07-05 08:00:07.000000000 +0200
|
||||
@@ -16,6 +16,8 @@
|
||||
#include <linux/siphash.h>
|
||||
#include <linux/kernel.h>
|
||||
|
@ -3146,9 +3146,9 @@ diff -aurN linux-4.19.55/net/ipv4/syncookies.c mptcp-mptcp_v0.95/net/ipv4/syncoo
|
|||
|
||||
ireq->rcv_wscale = rcv_wscale;
|
||||
ireq->ecn_ok = cookie_ecn_ok(&tcp_opt, sock_net(sk), &rt->dst);
|
||||
diff -aurN linux-4.19.55/net/ipv4/tcp.c mptcp-mptcp_v0.95/net/ipv4/tcp.c
|
||||
--- linux-4.19.55/net/ipv4/tcp.c 2019-06-22 11:23:18.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/net/ipv4/tcp.c 2019-06-24 09:39:58.000000000 +0200
|
||||
diff -aurN linux-4.19.56/net/ipv4/tcp.c mptcp-mptcp_v0.95/net/ipv4/tcp.c
|
||||
--- linux-4.19.56/net/ipv4/tcp.c 2019-06-25 05:36:02.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/net/ipv4/tcp.c 2019-07-05 08:00:07.000000000 +0200
|
||||
@@ -274,6 +274,7 @@
|
||||
|
||||
#include <net/icmp.h>
|
||||
|
@ -3853,9 +3853,9 @@ diff -aurN linux-4.19.55/net/ipv4/tcp.c mptcp-mptcp_v0.95/net/ipv4/tcp.c
|
|||
return 0;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(tcp_abort);
|
||||
diff -aurN linux-4.19.55/net/ipv4/tcp_diag.c mptcp-mptcp_v0.95/net/ipv4/tcp_diag.c
|
||||
--- linux-4.19.55/net/ipv4/tcp_diag.c 2019-06-22 11:23:18.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/net/ipv4/tcp_diag.c 2019-06-24 09:39:58.000000000 +0200
|
||||
diff -aurN linux-4.19.56/net/ipv4/tcp_diag.c mptcp-mptcp_v0.95/net/ipv4/tcp_diag.c
|
||||
--- linux-4.19.56/net/ipv4/tcp_diag.c 2019-06-25 05:36:02.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/net/ipv4/tcp_diag.c 2019-07-05 08:00:07.000000000 +0200
|
||||
@@ -34,7 +34,7 @@
|
||||
r->idiag_wqueue = tp->write_seq - tp->snd_una;
|
||||
}
|
||||
|
@ -3865,9 +3865,9 @@ diff -aurN linux-4.19.55/net/ipv4/tcp_diag.c mptcp-mptcp_v0.95/net/ipv4/tcp_diag
|
|||
}
|
||||
|
||||
#ifdef CONFIG_TCP_MD5SIG
|
||||
diff -aurN linux-4.19.55/net/ipv4/tcp_fastopen.c mptcp-mptcp_v0.95/net/ipv4/tcp_fastopen.c
|
||||
--- linux-4.19.55/net/ipv4/tcp_fastopen.c 2019-06-22 11:23:18.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/net/ipv4/tcp_fastopen.c 2019-06-24 09:39:58.000000000 +0200
|
||||
diff -aurN linux-4.19.56/net/ipv4/tcp_fastopen.c mptcp-mptcp_v0.95/net/ipv4/tcp_fastopen.c
|
||||
--- linux-4.19.56/net/ipv4/tcp_fastopen.c 2019-06-25 05:36:02.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/net/ipv4/tcp_fastopen.c 2019-07-05 08:00:07.000000000 +0200
|
||||
@@ -9,6 +9,7 @@
|
||||
#include <linux/rculist.h>
|
||||
#include <net/inetpeer.h>
|
||||
|
@ -3917,9 +3917,9 @@ diff -aurN linux-4.19.55/net/ipv4/tcp_fastopen.c mptcp-mptcp_v0.95/net/ipv4/tcp_
|
|||
/* tcp_conn_request() is sending the SYNACK,
|
||||
* and queues the child into listener accept queue.
|
||||
*/
|
||||
diff -aurN linux-4.19.55/net/ipv4/tcp_input.c mptcp-mptcp_v0.95/net/ipv4/tcp_input.c
|
||||
--- linux-4.19.55/net/ipv4/tcp_input.c 2019-06-22 11:23:18.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/net/ipv4/tcp_input.c 2019-06-24 09:39:58.000000000 +0200
|
||||
diff -aurN linux-4.19.56/net/ipv4/tcp_input.c mptcp-mptcp_v0.95/net/ipv4/tcp_input.c
|
||||
--- linux-4.19.56/net/ipv4/tcp_input.c 2019-06-25 05:36:02.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/net/ipv4/tcp_input.c 2019-07-05 08:00:07.000000000 +0200
|
||||
@@ -76,35 +76,15 @@
|
||||
#include <linux/ipsec.h>
|
||||
#include <asm/unaligned.h>
|
||||
|
@ -4781,9 +4781,9 @@ diff -aurN linux-4.19.55/net/ipv4/tcp_input.c mptcp-mptcp_v0.95/net/ipv4/tcp_inp
|
|||
sock_put(fastopen_sk);
|
||||
} else {
|
||||
tcp_rsk(req)->tfo_listener = false;
|
||||
diff -aurN linux-4.19.55/net/ipv4/tcp_ipv4.c mptcp-mptcp_v0.95/net/ipv4/tcp_ipv4.c
|
||||
--- linux-4.19.55/net/ipv4/tcp_ipv4.c 2019-06-22 11:23:18.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/net/ipv4/tcp_ipv4.c 2019-06-24 09:39:58.000000000 +0200
|
||||
diff -aurN linux-4.19.56/net/ipv4/tcp_ipv4.c mptcp-mptcp_v0.95/net/ipv4/tcp_ipv4.c
|
||||
--- linux-4.19.56/net/ipv4/tcp_ipv4.c 2019-06-25 05:36:02.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/net/ipv4/tcp_ipv4.c 2019-07-05 08:00:07.000000000 +0200
|
||||
@@ -67,6 +67,8 @@
|
||||
#include <net/icmp.h>
|
||||
#include <net/inet_hashtables.h>
|
||||
|
@ -5220,7 +5220,19 @@ diff -aurN linux-4.19.55/net/ipv4/tcp_ipv4.c mptcp-mptcp_v0.95/net/ipv4/tcp_ipv4
|
|||
tcp_cleanup_ulp(sk);
|
||||
|
||||
/* Cleanup up the write buffer. */
|
||||
@@ -2483,6 +2578,9 @@
|
||||
@@ -2473,6 +2568,11 @@
|
||||
.sysctl_rmem_offset = offsetof(struct net, ipv4.sysctl_tcp_rmem),
|
||||
.max_header = MAX_TCP_HEADER,
|
||||
.obj_size = sizeof(struct tcp_sock),
|
||||
+#ifdef CONFIG_MPTCP
|
||||
+ .useroffset = offsetof(struct tcp_sock, mptcp_sched_name),
|
||||
+ .usersize = sizeof_field(struct tcp_sock, mptcp_sched_name) +
|
||||
+ sizeof_field(struct tcp_sock, mptcp_pm_name),
|
||||
+#endif
|
||||
.slab_flags = SLAB_TYPESAFE_BY_RCU,
|
||||
.twsk_prot = &tcp_timewait_sock_ops,
|
||||
.rsk_prot = &tcp_request_sock_ops,
|
||||
@@ -2483,6 +2583,9 @@
|
||||
.compat_getsockopt = compat_tcp_getsockopt,
|
||||
#endif
|
||||
.diag_destroy = tcp_abort,
|
||||
|
@ -5230,9 +5242,9 @@ diff -aurN linux-4.19.55/net/ipv4/tcp_ipv4.c mptcp-mptcp_v0.95/net/ipv4/tcp_ipv4
|
|||
};
|
||||
EXPORT_SYMBOL(tcp_prot);
|
||||
|
||||
diff -aurN linux-4.19.55/net/ipv4/tcp_minisocks.c mptcp-mptcp_v0.95/net/ipv4/tcp_minisocks.c
|
||||
--- linux-4.19.55/net/ipv4/tcp_minisocks.c 2019-06-22 11:23:18.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/net/ipv4/tcp_minisocks.c 2019-06-24 09:39:58.000000000 +0200
|
||||
diff -aurN linux-4.19.56/net/ipv4/tcp_minisocks.c mptcp-mptcp_v0.95/net/ipv4/tcp_minisocks.c
|
||||
--- linux-4.19.56/net/ipv4/tcp_minisocks.c 2019-06-25 05:36:02.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/net/ipv4/tcp_minisocks.c 2019-07-05 08:00:07.000000000 +0200
|
||||
@@ -18,11 +18,13 @@
|
||||
* Jorge Cwik, <jorge@laser.satlink.net>
|
||||
*/
|
||||
|
@ -5451,9 +5463,9 @@ diff -aurN linux-4.19.55/net/ipv4/tcp_minisocks.c mptcp-mptcp_v0.95/net/ipv4/tcp
|
|||
sock_put(child);
|
||||
return ret;
|
||||
}
|
||||
diff -aurN linux-4.19.55/net/ipv4/tcp_output.c mptcp-mptcp_v0.95/net/ipv4/tcp_output.c
|
||||
--- linux-4.19.55/net/ipv4/tcp_output.c 2019-06-22 11:23:18.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/net/ipv4/tcp_output.c 2019-06-24 09:39:58.000000000 +0200
|
||||
diff -aurN linux-4.19.56/net/ipv4/tcp_output.c mptcp-mptcp_v0.95/net/ipv4/tcp_output.c
|
||||
--- linux-4.19.56/net/ipv4/tcp_output.c 2019-06-25 05:36:02.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/net/ipv4/tcp_output.c 2019-07-05 08:00:07.000000000 +0200
|
||||
@@ -36,6 +36,12 @@
|
||||
|
||||
#define pr_fmt(fmt) "TCP: " fmt
|
||||
|
@ -6058,9 +6070,9 @@ diff -aurN linux-4.19.55/net/ipv4/tcp_output.c mptcp-mptcp_v0.95/net/ipv4/tcp_ou
|
|||
|
||||
if (tp->packets_out || tcp_write_queue_empty(sk)) {
|
||||
/* Cancel probe timer, if it is not required. */
|
||||
diff -aurN linux-4.19.55/net/ipv4/tcp_timer.c mptcp-mptcp_v0.95/net/ipv4/tcp_timer.c
|
||||
--- linux-4.19.55/net/ipv4/tcp_timer.c 2019-06-22 11:23:18.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/net/ipv4/tcp_timer.c 2019-06-24 09:39:58.000000000 +0200
|
||||
diff -aurN linux-4.19.56/net/ipv4/tcp_timer.c mptcp-mptcp_v0.95/net/ipv4/tcp_timer.c
|
||||
--- linux-4.19.56/net/ipv4/tcp_timer.c 2019-06-25 05:36:02.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/net/ipv4/tcp_timer.c 2019-07-05 08:00:07.000000000 +0200
|
||||
@@ -20,6 +20,7 @@
|
||||
|
||||
#include <linux/module.h>
|
||||
|
@ -6258,9 +6270,9 @@ diff -aurN linux-4.19.55/net/ipv4/tcp_timer.c mptcp-mptcp_v0.95/net/ipv4/tcp_tim
|
|||
sock_put(sk);
|
||||
}
|
||||
|
||||
diff -aurN linux-4.19.55/net/ipv6/addrconf.c mptcp-mptcp_v0.95/net/ipv6/addrconf.c
|
||||
--- linux-4.19.55/net/ipv6/addrconf.c 2019-06-22 11:23:18.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/net/ipv6/addrconf.c 2019-06-24 09:39:58.000000000 +0200
|
||||
diff -aurN linux-4.19.56/net/ipv6/addrconf.c mptcp-mptcp_v0.95/net/ipv6/addrconf.c
|
||||
--- linux-4.19.56/net/ipv6/addrconf.c 2019-06-25 05:36:02.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/net/ipv6/addrconf.c 2019-07-05 08:00:07.000000000 +0200
|
||||
@@ -917,6 +917,7 @@
|
||||
|
||||
kfree_rcu(ifp, rcu);
|
||||
|
@ -6269,9 +6281,9 @@ diff -aurN linux-4.19.55/net/ipv6/addrconf.c mptcp-mptcp_v0.95/net/ipv6/addrconf
|
|||
|
||||
static void
|
||||
ipv6_link_dev_addr(struct inet6_dev *idev, struct inet6_ifaddr *ifp)
|
||||
diff -aurN linux-4.19.55/net/ipv6/af_inet6.c mptcp-mptcp_v0.95/net/ipv6/af_inet6.c
|
||||
--- linux-4.19.55/net/ipv6/af_inet6.c 2019-06-22 11:23:18.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/net/ipv6/af_inet6.c 2019-06-24 09:39:58.000000000 +0200
|
||||
diff -aurN linux-4.19.56/net/ipv6/af_inet6.c mptcp-mptcp_v0.95/net/ipv6/af_inet6.c
|
||||
--- linux-4.19.56/net/ipv6/af_inet6.c 2019-06-25 05:36:02.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/net/ipv6/af_inet6.c 2019-07-05 08:00:07.000000000 +0200
|
||||
@@ -107,8 +107,7 @@
|
||||
return (struct ipv6_pinfo *)(((u8 *)sk) + offset);
|
||||
}
|
||||
|
@ -6282,9 +6294,9 @@ diff -aurN linux-4.19.55/net/ipv6/af_inet6.c mptcp-mptcp_v0.95/net/ipv6/af_inet6
|
|||
{
|
||||
struct inet_sock *inet;
|
||||
struct ipv6_pinfo *np;
|
||||
diff -aurN linux-4.19.55/net/ipv6/ipv6_sockglue.c mptcp-mptcp_v0.95/net/ipv6/ipv6_sockglue.c
|
||||
--- linux-4.19.55/net/ipv6/ipv6_sockglue.c 2019-06-22 11:23:18.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/net/ipv6/ipv6_sockglue.c 2019-06-24 09:39:58.000000000 +0200
|
||||
diff -aurN linux-4.19.56/net/ipv6/ipv6_sockglue.c mptcp-mptcp_v0.95/net/ipv6/ipv6_sockglue.c
|
||||
--- linux-4.19.56/net/ipv6/ipv6_sockglue.c 2019-06-25 05:36:02.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/net/ipv6/ipv6_sockglue.c 2019-07-05 08:00:07.000000000 +0200
|
||||
@@ -48,6 +48,8 @@
|
||||
#include <net/addrconf.h>
|
||||
#include <net/inet_common.h>
|
||||
|
@ -6308,9 +6320,9 @@ diff -aurN linux-4.19.55/net/ipv6/ipv6_sockglue.c mptcp-mptcp_v0.95/net/ipv6/ipv
|
|||
sk->sk_socket->ops = &inet_stream_ops;
|
||||
sk->sk_family = PF_INET;
|
||||
tcp_sync_mss(sk, icsk->icsk_pmtu_cookie);
|
||||
diff -aurN linux-4.19.55/net/ipv6/syncookies.c mptcp-mptcp_v0.95/net/ipv6/syncookies.c
|
||||
--- linux-4.19.55/net/ipv6/syncookies.c 2019-06-22 11:23:18.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/net/ipv6/syncookies.c 2019-06-24 09:39:58.000000000 +0200
|
||||
diff -aurN linux-4.19.56/net/ipv6/syncookies.c mptcp-mptcp_v0.95/net/ipv6/syncookies.c
|
||||
--- linux-4.19.56/net/ipv6/syncookies.c 2019-06-25 05:36:02.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/net/ipv6/syncookies.c 2019-07-05 08:00:07.000000000 +0200
|
||||
@@ -20,6 +20,8 @@
|
||||
#include <linux/kernel.h>
|
||||
#include <net/secure_seq.h>
|
||||
|
@ -6392,9 +6404,9 @@ diff -aurN linux-4.19.55/net/ipv6/syncookies.c mptcp-mptcp_v0.95/net/ipv6/syncoo
|
|||
|
||||
ireq->rcv_wscale = rcv_wscale;
|
||||
ireq->ecn_ok = cookie_ecn_ok(&tcp_opt, sock_net(sk), dst);
|
||||
diff -aurN linux-4.19.55/net/ipv6/tcp_ipv6.c mptcp-mptcp_v0.95/net/ipv6/tcp_ipv6.c
|
||||
--- linux-4.19.55/net/ipv6/tcp_ipv6.c 2019-06-22 11:23:18.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/net/ipv6/tcp_ipv6.c 2019-06-24 09:39:58.000000000 +0200
|
||||
diff -aurN linux-4.19.56/net/ipv6/tcp_ipv6.c mptcp-mptcp_v0.95/net/ipv6/tcp_ipv6.c
|
||||
--- linux-4.19.56/net/ipv6/tcp_ipv6.c 2019-06-25 05:36:02.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/net/ipv6/tcp_ipv6.c 2019-07-05 08:00:07.000000000 +0200
|
||||
@@ -61,6 +61,8 @@
|
||||
#include <net/timewait_sock.h>
|
||||
#include <net/inet_common.h>
|
||||
|
@ -6967,7 +6979,19 @@ diff -aurN linux-4.19.55/net/ipv6/tcp_ipv6.c mptcp-mptcp_v0.95/net/ipv6/tcp_ipv6
|
|||
{
|
||||
tcp_v4_destroy_sock(sk);
|
||||
inet6_destroy_sock(sk);
|
||||
@@ -1989,6 +2093,9 @@
|
||||
@@ -1979,6 +2083,11 @@
|
||||
.sysctl_rmem_offset = offsetof(struct net, ipv4.sysctl_tcp_rmem),
|
||||
.max_header = MAX_TCP_HEADER,
|
||||
.obj_size = sizeof(struct tcp6_sock),
|
||||
+#ifdef CONFIG_MPTCP
|
||||
+ .useroffset = offsetof(struct tcp_sock, mptcp_sched_name),
|
||||
+ .usersize = sizeof_field(struct tcp_sock, mptcp_sched_name) +
|
||||
+ sizeof_field(struct tcp_sock, mptcp_pm_name),
|
||||
+#endif
|
||||
.slab_flags = SLAB_TYPESAFE_BY_RCU,
|
||||
.twsk_prot = &tcp6_timewait_sock_ops,
|
||||
.rsk_prot = &tcp6_request_sock_ops,
|
||||
@@ -1989,6 +2098,9 @@
|
||||
.compat_getsockopt = compat_tcp_getsockopt,
|
||||
#endif
|
||||
.diag_destroy = tcp_abort,
|
||||
|
@ -6977,9 +7001,9 @@ diff -aurN linux-4.19.55/net/ipv6/tcp_ipv6.c mptcp-mptcp_v0.95/net/ipv6/tcp_ipv6
|
|||
};
|
||||
|
||||
/* thinking of making this const? Don't.
|
||||
diff -aurN linux-4.19.55/net/Kconfig mptcp-mptcp_v0.95/net/Kconfig
|
||||
--- linux-4.19.55/net/Kconfig 2019-06-22 11:23:18.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/net/Kconfig 2019-06-24 09:39:58.000000000 +0200
|
||||
diff -aurN linux-4.19.56/net/Kconfig mptcp-mptcp_v0.95/net/Kconfig
|
||||
--- linux-4.19.56/net/Kconfig 2019-06-25 05:36:02.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/net/Kconfig 2019-07-05 08:00:07.000000000 +0200
|
||||
@@ -89,6 +89,7 @@
|
||||
source "net/ipv4/Kconfig"
|
||||
source "net/ipv6/Kconfig"
|
||||
|
@ -6988,9 +7012,9 @@ diff -aurN linux-4.19.55/net/Kconfig mptcp-mptcp_v0.95/net/Kconfig
|
|||
|
||||
endif # if INET
|
||||
|
||||
diff -aurN linux-4.19.55/net/Makefile mptcp-mptcp_v0.95/net/Makefile
|
||||
--- linux-4.19.55/net/Makefile 2019-06-22 11:23:18.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/net/Makefile 2019-06-24 09:39:58.000000000 +0200
|
||||
diff -aurN linux-4.19.56/net/Makefile mptcp-mptcp_v0.95/net/Makefile
|
||||
--- linux-4.19.56/net/Makefile 2019-06-25 05:36:02.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/net/Makefile 2019-07-05 08:00:07.000000000 +0200
|
||||
@@ -20,6 +20,7 @@
|
||||
obj-$(CONFIG_XFRM) += xfrm/
|
||||
obj-$(CONFIG_UNIX) += unix/
|
||||
|
@ -6999,9 +7023,9 @@ diff -aurN linux-4.19.55/net/Makefile mptcp-mptcp_v0.95/net/Makefile
|
|||
obj-$(CONFIG_BPFILTER) += bpfilter/
|
||||
obj-$(CONFIG_PACKET) += packet/
|
||||
obj-$(CONFIG_NET_KEY) += key/
|
||||
diff -aurN linux-4.19.55/net/mptcp/Kconfig mptcp-mptcp_v0.95/net/mptcp/Kconfig
|
||||
--- linux-4.19.55/net/mptcp/Kconfig 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ mptcp-mptcp_v0.95/net/mptcp/Kconfig 2019-06-24 09:39:58.000000000 +0200
|
||||
diff -aurN linux-4.19.56/net/mptcp/Kconfig mptcp-mptcp_v0.95/net/mptcp/Kconfig
|
||||
--- linux-4.19.56/net/mptcp/Kconfig 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ mptcp-mptcp_v0.95/net/mptcp/Kconfig 2019-07-05 08:00:07.000000000 +0200
|
||||
@@ -0,0 +1,146 @@
|
||||
+#
|
||||
+# MPTCP configuration
|
||||
|
@ -7149,9 +7173,9 @@ diff -aurN linux-4.19.55/net/mptcp/Kconfig mptcp-mptcp_v0.95/net/mptcp/Kconfig
|
|||
+ default "redundant" if DEFAULT_REDUNDANT
|
||||
+ default "default"
|
||||
+
|
||||
diff -aurN linux-4.19.55/net/mptcp/Makefile mptcp-mptcp_v0.95/net/mptcp/Makefile
|
||||
--- linux-4.19.55/net/mptcp/Makefile 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ mptcp-mptcp_v0.95/net/mptcp/Makefile 2019-06-24 09:39:58.000000000 +0200
|
||||
diff -aurN linux-4.19.56/net/mptcp/Makefile mptcp-mptcp_v0.95/net/mptcp/Makefile
|
||||
--- linux-4.19.56/net/mptcp/Makefile 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ mptcp-mptcp_v0.95/net/mptcp/Makefile 2019-07-05 08:00:07.000000000 +0200
|
||||
@@ -0,0 +1,24 @@
|
||||
+#
|
||||
+## Makefile for MultiPath TCP support code.
|
||||
|
@ -7177,9 +7201,9 @@ diff -aurN linux-4.19.55/net/mptcp/Makefile mptcp-mptcp_v0.95/net/mptcp/Makefile
|
|||
+obj-$(CONFIG_MPTCP_BLEST) += mptcp_blest.o
|
||||
+
|
||||
+mptcp-$(subst m,y,$(CONFIG_IPV6)) += mptcp_ipv6.o
|
||||
diff -aurN linux-4.19.55/net/mptcp/mctcp_desync.c mptcp-mptcp_v0.95/net/mptcp/mctcp_desync.c
|
||||
--- linux-4.19.55/net/mptcp/mctcp_desync.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ mptcp-mptcp_v0.95/net/mptcp/mctcp_desync.c 2019-06-24 09:39:58.000000000 +0200
|
||||
diff -aurN linux-4.19.56/net/mptcp/mctcp_desync.c mptcp-mptcp_v0.95/net/mptcp/mctcp_desync.c
|
||||
--- linux-4.19.56/net/mptcp/mctcp_desync.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ mptcp-mptcp_v0.95/net/mptcp/mctcp_desync.c 2019-07-05 08:00:07.000000000 +0200
|
||||
@@ -0,0 +1,193 @@
|
||||
+/*
|
||||
+ * Desynchronized Multi-Channel TCP Congestion Control Algorithm
|
||||
|
@ -7374,9 +7398,9 @@ diff -aurN linux-4.19.55/net/mptcp/mctcp_desync.c mptcp-mptcp_v0.95/net/mptcp/mc
|
|||
+MODULE_LICENSE("GPL");
|
||||
+MODULE_DESCRIPTION("MCTCP: DESYNCHRONIZED MULTICHANNEL TCP CONGESTION CONTROL");
|
||||
+MODULE_VERSION("1.0");
|
||||
diff -aurN linux-4.19.55/net/mptcp/mptcp_balia.c mptcp-mptcp_v0.95/net/mptcp/mptcp_balia.c
|
||||
--- linux-4.19.55/net/mptcp/mptcp_balia.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ mptcp-mptcp_v0.95/net/mptcp/mptcp_balia.c 2019-06-24 09:39:58.000000000 +0200
|
||||
diff -aurN linux-4.19.56/net/mptcp/mptcp_balia.c mptcp-mptcp_v0.95/net/mptcp/mptcp_balia.c
|
||||
--- linux-4.19.56/net/mptcp/mptcp_balia.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ mptcp-mptcp_v0.95/net/mptcp/mptcp_balia.c 2019-07-05 08:00:07.000000000 +0200
|
||||
@@ -0,0 +1,261 @@
|
||||
+/*
|
||||
+ * MPTCP implementation - Balia Congestion Control
|
||||
|
@ -7639,9 +7663,9 @@ diff -aurN linux-4.19.55/net/mptcp/mptcp_balia.c mptcp-mptcp_v0.95/net/mptcp/mpt
|
|||
+MODULE_LICENSE("GPL");
|
||||
+MODULE_DESCRIPTION("MPTCP BALIA CONGESTION CONTROL ALGORITHM");
|
||||
+MODULE_VERSION("0.1");
|
||||
diff -aurN linux-4.19.55/net/mptcp/mptcp_binder.c mptcp-mptcp_v0.95/net/mptcp/mptcp_binder.c
|
||||
--- linux-4.19.55/net/mptcp/mptcp_binder.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ mptcp-mptcp_v0.95/net/mptcp/mptcp_binder.c 2019-06-24 09:39:58.000000000 +0200
|
||||
diff -aurN linux-4.19.56/net/mptcp/mptcp_binder.c mptcp-mptcp_v0.95/net/mptcp/mptcp_binder.c
|
||||
--- linux-4.19.56/net/mptcp/mptcp_binder.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ mptcp-mptcp_v0.95/net/mptcp/mptcp_binder.c 2019-07-05 08:00:07.000000000 +0200
|
||||
@@ -0,0 +1,494 @@
|
||||
+#include <linux/module.h>
|
||||
+
|
||||
|
@ -8137,9 +8161,9 @@ diff -aurN linux-4.19.55/net/mptcp/mptcp_binder.c mptcp-mptcp_v0.95/net/mptcp/mp
|
|||
+MODULE_LICENSE("GPL");
|
||||
+MODULE_DESCRIPTION("BINDER MPTCP");
|
||||
+MODULE_VERSION("0.1");
|
||||
diff -aurN linux-4.19.55/net/mptcp/mptcp_blest.c mptcp-mptcp_v0.95/net/mptcp/mptcp_blest.c
|
||||
--- linux-4.19.55/net/mptcp/mptcp_blest.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ mptcp-mptcp_v0.95/net/mptcp/mptcp_blest.c 2019-06-24 09:39:58.000000000 +0200
|
||||
diff -aurN linux-4.19.56/net/mptcp/mptcp_blest.c mptcp-mptcp_v0.95/net/mptcp/mptcp_blest.c
|
||||
--- linux-4.19.56/net/mptcp/mptcp_blest.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ mptcp-mptcp_v0.95/net/mptcp/mptcp_blest.c 2019-07-05 08:00:07.000000000 +0200
|
||||
@@ -0,0 +1,475 @@
|
||||
+// SPDX-License-Identifier: GPL-2.0
|
||||
+/* MPTCP Scheduler to reduce HoL-blocking and spurious retransmissions.
|
||||
|
@ -8616,9 +8640,9 @@ diff -aurN linux-4.19.55/net/mptcp/mptcp_blest.c mptcp-mptcp_v0.95/net/mptcp/mpt
|
|||
+MODULE_LICENSE("GPL");
|
||||
+MODULE_DESCRIPTION("BLEST scheduler for MPTCP, based on default minimum RTT scheduler");
|
||||
+MODULE_VERSION("0.95");
|
||||
diff -aurN linux-4.19.55/net/mptcp/mptcp_coupled.c mptcp-mptcp_v0.95/net/mptcp/mptcp_coupled.c
|
||||
--- linux-4.19.55/net/mptcp/mptcp_coupled.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ mptcp-mptcp_v0.95/net/mptcp/mptcp_coupled.c 2019-06-24 09:39:58.000000000 +0200
|
||||
diff -aurN linux-4.19.56/net/mptcp/mptcp_coupled.c mptcp-mptcp_v0.95/net/mptcp/mptcp_coupled.c
|
||||
--- linux-4.19.56/net/mptcp/mptcp_coupled.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ mptcp-mptcp_v0.95/net/mptcp/mptcp_coupled.c 2019-07-05 08:00:07.000000000 +0200
|
||||
@@ -0,0 +1,262 @@
|
||||
+/*
|
||||
+ * MPTCP implementation - Linked Increase congestion control Algorithm (LIA)
|
||||
|
@ -8882,9 +8906,9 @@ diff -aurN linux-4.19.55/net/mptcp/mptcp_coupled.c mptcp-mptcp_v0.95/net/mptcp/m
|
|||
+MODULE_LICENSE("GPL");
|
||||
+MODULE_DESCRIPTION("MPTCP LINKED INCREASE CONGESTION CONTROL ALGORITHM");
|
||||
+MODULE_VERSION("0.1");
|
||||
diff -aurN linux-4.19.55/net/mptcp/mptcp_ctrl.c mptcp-mptcp_v0.95/net/mptcp/mptcp_ctrl.c
|
||||
--- linux-4.19.55/net/mptcp/mptcp_ctrl.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ mptcp-mptcp_v0.95/net/mptcp/mptcp_ctrl.c 2019-06-24 09:39:58.000000000 +0200
|
||||
diff -aurN linux-4.19.56/net/mptcp/mptcp_ctrl.c mptcp-mptcp_v0.95/net/mptcp/mptcp_ctrl.c
|
||||
--- linux-4.19.56/net/mptcp/mptcp_ctrl.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ mptcp-mptcp_v0.95/net/mptcp/mptcp_ctrl.c 2019-07-05 08:00:07.000000000 +0200
|
||||
@@ -0,0 +1,3124 @@
|
||||
+/*
|
||||
+ * MPTCP implementation - MPTCP-control
|
||||
|
@ -12010,9 +12034,9 @@ diff -aurN linux-4.19.55/net/mptcp/mptcp_ctrl.c mptcp-mptcp_v0.95/net/mptcp/mptc
|
|||
+mptcp_sock_cache_failed:
|
||||
+ mptcp_init_failed = true;
|
||||
+}
|
||||
diff -aurN linux-4.19.55/net/mptcp/mptcp_fullmesh.c mptcp-mptcp_v0.95/net/mptcp/mptcp_fullmesh.c
|
||||
--- linux-4.19.55/net/mptcp/mptcp_fullmesh.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ mptcp-mptcp_v0.95/net/mptcp/mptcp_fullmesh.c 2019-06-24 09:39:58.000000000 +0200
|
||||
diff -aurN linux-4.19.56/net/mptcp/mptcp_fullmesh.c mptcp-mptcp_v0.95/net/mptcp/mptcp_fullmesh.c
|
||||
--- linux-4.19.56/net/mptcp/mptcp_fullmesh.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ mptcp-mptcp_v0.95/net/mptcp/mptcp_fullmesh.c 2019-07-05 08:00:07.000000000 +0200
|
||||
@@ -0,0 +1,1941 @@
|
||||
+#include <linux/module.h>
|
||||
+#include <linux/proc_fs.h>
|
||||
|
@ -13955,9 +13979,9 @@ diff -aurN linux-4.19.55/net/mptcp/mptcp_fullmesh.c mptcp-mptcp_v0.95/net/mptcp/
|
|||
+MODULE_LICENSE("GPL");
|
||||
+MODULE_DESCRIPTION("Full-Mesh MPTCP");
|
||||
+MODULE_VERSION("0.88");
|
||||
diff -aurN linux-4.19.55/net/mptcp/mptcp_input.c mptcp-mptcp_v0.95/net/mptcp/mptcp_input.c
|
||||
--- linux-4.19.55/net/mptcp/mptcp_input.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ mptcp-mptcp_v0.95/net/mptcp/mptcp_input.c 2019-06-24 09:39:58.000000000 +0200
|
||||
diff -aurN linux-4.19.56/net/mptcp/mptcp_input.c mptcp-mptcp_v0.95/net/mptcp/mptcp_input.c
|
||||
--- linux-4.19.56/net/mptcp/mptcp_input.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ mptcp-mptcp_v0.95/net/mptcp/mptcp_input.c 2019-07-05 08:00:07.000000000 +0200
|
||||
@@ -0,0 +1,2400 @@
|
||||
+/*
|
||||
+ * MPTCP implementation - Sending side
|
||||
|
@ -16359,9 +16383,9 @@ diff -aurN linux-4.19.55/net/mptcp/mptcp_input.c mptcp-mptcp_v0.95/net/mptcp/mpt
|
|||
+ tcp_set_rto(sk);
|
||||
+ mptcp_set_rto(sk);
|
||||
+}
|
||||
diff -aurN linux-4.19.55/net/mptcp/mptcp_ipv4.c mptcp-mptcp_v0.95/net/mptcp/mptcp_ipv4.c
|
||||
--- linux-4.19.55/net/mptcp/mptcp_ipv4.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ mptcp-mptcp_v0.95/net/mptcp/mptcp_ipv4.c 2019-06-24 09:39:58.000000000 +0200
|
||||
diff -aurN linux-4.19.56/net/mptcp/mptcp_ipv4.c mptcp-mptcp_v0.95/net/mptcp/mptcp_ipv4.c
|
||||
--- linux-4.19.56/net/mptcp/mptcp_ipv4.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ mptcp-mptcp_v0.95/net/mptcp/mptcp_ipv4.c 2019-07-05 08:00:07.000000000 +0200
|
||||
@@ -0,0 +1,427 @@
|
||||
+/*
|
||||
+ * MPTCP implementation - IPv4-specific functions
|
||||
|
@ -16790,9 +16814,9 @@ diff -aurN linux-4.19.55/net/mptcp/mptcp_ipv4.c mptcp-mptcp_v0.95/net/mptcp/mptc
|
|||
+ kmem_cache_destroy(mptcp_request_sock_ops.slab);
|
||||
+ kfree(mptcp_request_sock_ops.slab_name);
|
||||
+}
|
||||
diff -aurN linux-4.19.55/net/mptcp/mptcp_ipv6.c mptcp-mptcp_v0.95/net/mptcp/mptcp_ipv6.c
|
||||
--- linux-4.19.55/net/mptcp/mptcp_ipv6.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ mptcp-mptcp_v0.95/net/mptcp/mptcp_ipv6.c 2019-06-24 09:39:58.000000000 +0200
|
||||
diff -aurN linux-4.19.56/net/mptcp/mptcp_ipv6.c mptcp-mptcp_v0.95/net/mptcp/mptcp_ipv6.c
|
||||
--- linux-4.19.56/net/mptcp/mptcp_ipv6.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ mptcp-mptcp_v0.95/net/mptcp/mptcp_ipv6.c 2019-07-05 08:00:07.000000000 +0200
|
||||
@@ -0,0 +1,475 @@
|
||||
+/*
|
||||
+ * MPTCP implementation - IPv6-specific functions
|
||||
|
@ -17269,9 +17293,9 @@ diff -aurN linux-4.19.55/net/mptcp/mptcp_ipv6.c mptcp-mptcp_v0.95/net/mptcp/mptc
|
|||
+ kmem_cache_destroy(mptcp6_request_sock_ops.slab);
|
||||
+ kfree(mptcp6_request_sock_ops.slab_name);
|
||||
+}
|
||||
diff -aurN linux-4.19.55/net/mptcp/mptcp_ndiffports.c mptcp-mptcp_v0.95/net/mptcp/mptcp_ndiffports.c
|
||||
--- linux-4.19.55/net/mptcp/mptcp_ndiffports.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ mptcp-mptcp_v0.95/net/mptcp/mptcp_ndiffports.c 2019-06-24 09:39:58.000000000 +0200
|
||||
diff -aurN linux-4.19.56/net/mptcp/mptcp_ndiffports.c mptcp-mptcp_v0.95/net/mptcp/mptcp_ndiffports.c
|
||||
--- linux-4.19.56/net/mptcp/mptcp_ndiffports.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ mptcp-mptcp_v0.95/net/mptcp/mptcp_ndiffports.c 2019-07-05 08:00:07.000000000 +0200
|
||||
@@ -0,0 +1,174 @@
|
||||
+#include <linux/module.h>
|
||||
+
|
||||
|
@ -17447,9 +17471,9 @@ diff -aurN linux-4.19.55/net/mptcp/mptcp_ndiffports.c mptcp-mptcp_v0.95/net/mptc
|
|||
+MODULE_LICENSE("GPL");
|
||||
+MODULE_DESCRIPTION("NDIFF-PORTS MPTCP");
|
||||
+MODULE_VERSION("0.88");
|
||||
diff -aurN linux-4.19.55/net/mptcp/mptcp_netlink.c mptcp-mptcp_v0.95/net/mptcp/mptcp_netlink.c
|
||||
--- linux-4.19.55/net/mptcp/mptcp_netlink.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ mptcp-mptcp_v0.95/net/mptcp/mptcp_netlink.c 2019-06-24 09:39:58.000000000 +0200
|
||||
diff -aurN linux-4.19.56/net/mptcp/mptcp_netlink.c mptcp-mptcp_v0.95/net/mptcp/mptcp_netlink.c
|
||||
--- linux-4.19.56/net/mptcp/mptcp_netlink.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ mptcp-mptcp_v0.95/net/mptcp/mptcp_netlink.c 2019-07-05 08:00:07.000000000 +0200
|
||||
@@ -0,0 +1,1277 @@
|
||||
+// SPDX-License-Identifier: GPL-2.0
|
||||
+/* MPTCP implementation - Netlink Path Manager
|
||||
|
@ -18728,9 +18752,9 @@ diff -aurN linux-4.19.55/net/mptcp/mptcp_netlink.c mptcp-mptcp_v0.95/net/mptcp/m
|
|||
+MODULE_LICENSE("GPL");
|
||||
+MODULE_DESCRIPTION("MPTCP netlink-based path manager");
|
||||
+MODULE_ALIAS_GENL_FAMILY(MPTCP_GENL_NAME);
|
||||
diff -aurN linux-4.19.55/net/mptcp/mptcp_olia.c mptcp-mptcp_v0.95/net/mptcp/mptcp_olia.c
|
||||
--- linux-4.19.55/net/mptcp/mptcp_olia.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ mptcp-mptcp_v0.95/net/mptcp/mptcp_olia.c 2019-06-24 09:39:58.000000000 +0200
|
||||
diff -aurN linux-4.19.56/net/mptcp/mptcp_olia.c mptcp-mptcp_v0.95/net/mptcp/mptcp_olia.c
|
||||
--- linux-4.19.56/net/mptcp/mptcp_olia.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ mptcp-mptcp_v0.95/net/mptcp/mptcp_olia.c 2019-07-05 08:00:07.000000000 +0200
|
||||
@@ -0,0 +1,318 @@
|
||||
+/*
|
||||
+ * MPTCP implementation - OPPORTUNISTIC LINKED INCREASES CONGESTION CONTROL:
|
||||
|
@ -19050,9 +19074,9 @@ diff -aurN linux-4.19.55/net/mptcp/mptcp_olia.c mptcp-mptcp_v0.95/net/mptcp/mptc
|
|||
+MODULE_LICENSE("GPL");
|
||||
+MODULE_DESCRIPTION("MPTCP COUPLED CONGESTION CONTROL");
|
||||
+MODULE_VERSION("0.1");
|
||||
diff -aurN linux-4.19.55/net/mptcp/mptcp_output.c mptcp-mptcp_v0.95/net/mptcp/mptcp_output.c
|
||||
--- linux-4.19.55/net/mptcp/mptcp_output.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ mptcp-mptcp_v0.95/net/mptcp/mptcp_output.c 2019-06-24 09:39:58.000000000 +0200
|
||||
diff -aurN linux-4.19.56/net/mptcp/mptcp_output.c mptcp-mptcp_v0.95/net/mptcp/mptcp_output.c
|
||||
--- linux-4.19.56/net/mptcp/mptcp_output.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ mptcp-mptcp_v0.95/net/mptcp/mptcp_output.c 2019-07-05 08:00:07.000000000 +0200
|
||||
@@ -0,0 +1,1929 @@
|
||||
+/*
|
||||
+ * MPTCP implementation - Sending side
|
||||
|
@ -20983,9 +21007,9 @@ diff -aurN linux-4.19.55/net/mptcp/mptcp_output.c mptcp-mptcp_v0.95/net/mptcp/mp
|
|||
+ return max(xmit_size_goal, mss_now);
|
||||
+}
|
||||
+
|
||||
diff -aurN linux-4.19.55/net/mptcp/mptcp_pm.c mptcp-mptcp_v0.95/net/mptcp/mptcp_pm.c
|
||||
--- linux-4.19.55/net/mptcp/mptcp_pm.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ mptcp-mptcp_v0.95/net/mptcp/mptcp_pm.c 2019-06-24 09:39:58.000000000 +0200
|
||||
diff -aurN linux-4.19.56/net/mptcp/mptcp_pm.c mptcp-mptcp_v0.95/net/mptcp/mptcp_pm.c
|
||||
--- linux-4.19.56/net/mptcp/mptcp_pm.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ mptcp-mptcp_v0.95/net/mptcp/mptcp_pm.c 2019-07-05 08:00:07.000000000 +0200
|
||||
@@ -0,0 +1,226 @@
|
||||
+/*
|
||||
+ * MPTCP implementation - MPTCP-subflow-management
|
||||
|
@ -21213,9 +21237,9 @@ diff -aurN linux-4.19.55/net/mptcp/mptcp_pm.c mptcp-mptcp_v0.95/net/mptcp/mptcp_
|
|||
+ return mptcp_set_default_path_manager(CONFIG_DEFAULT_MPTCP_PM);
|
||||
+}
|
||||
+late_initcall(mptcp_path_manager_default);
|
||||
diff -aurN linux-4.19.55/net/mptcp/mptcp_redundant.c mptcp-mptcp_v0.95/net/mptcp/mptcp_redundant.c
|
||||
--- linux-4.19.55/net/mptcp/mptcp_redundant.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ mptcp-mptcp_v0.95/net/mptcp/mptcp_redundant.c 2019-06-24 09:39:58.000000000 +0200
|
||||
diff -aurN linux-4.19.56/net/mptcp/mptcp_redundant.c mptcp-mptcp_v0.95/net/mptcp/mptcp_redundant.c
|
||||
--- linux-4.19.56/net/mptcp/mptcp_redundant.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ mptcp-mptcp_v0.95/net/mptcp/mptcp_redundant.c 2019-07-05 08:00:07.000000000 +0200
|
||||
@@ -0,0 +1,389 @@
|
||||
+/*
|
||||
+ * MPTCP Scheduler to reduce latency and jitter.
|
||||
|
@ -21606,9 +21630,9 @@ diff -aurN linux-4.19.55/net/mptcp/mptcp_redundant.c mptcp-mptcp_v0.95/net/mptcp
|
|||
+MODULE_LICENSE("GPL");
|
||||
+MODULE_DESCRIPTION("REDUNDANT MPTCP");
|
||||
+MODULE_VERSION("0.90");
|
||||
diff -aurN linux-4.19.55/net/mptcp/mptcp_rr.c mptcp-mptcp_v0.95/net/mptcp/mptcp_rr.c
|
||||
--- linux-4.19.55/net/mptcp/mptcp_rr.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ mptcp-mptcp_v0.95/net/mptcp/mptcp_rr.c 2019-06-24 09:39:58.000000000 +0200
|
||||
diff -aurN linux-4.19.56/net/mptcp/mptcp_rr.c mptcp-mptcp_v0.95/net/mptcp/mptcp_rr.c
|
||||
--- linux-4.19.56/net/mptcp/mptcp_rr.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ mptcp-mptcp_v0.95/net/mptcp/mptcp_rr.c 2019-07-05 08:00:07.000000000 +0200
|
||||
@@ -0,0 +1,309 @@
|
||||
+/* MPTCP Scheduler module selector. Highly inspired by tcp_cong.c */
|
||||
+
|
||||
|
@ -21919,10 +21943,10 @@ diff -aurN linux-4.19.55/net/mptcp/mptcp_rr.c mptcp-mptcp_v0.95/net/mptcp/mptcp_
|
|||
+MODULE_LICENSE("GPL");
|
||||
+MODULE_DESCRIPTION("ROUNDROBIN MPTCP");
|
||||
+MODULE_VERSION("0.89");
|
||||
diff -aurN linux-4.19.55/net/mptcp/mptcp_sched.c mptcp-mptcp_v0.95/net/mptcp/mptcp_sched.c
|
||||
--- linux-4.19.55/net/mptcp/mptcp_sched.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ mptcp-mptcp_v0.95/net/mptcp/mptcp_sched.c 2019-06-24 09:39:58.000000000 +0200
|
||||
@@ -0,0 +1,635 @@
|
||||
diff -aurN linux-4.19.56/net/mptcp/mptcp_sched.c mptcp-mptcp_v0.95/net/mptcp/mptcp_sched.c
|
||||
--- linux-4.19.56/net/mptcp/mptcp_sched.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ mptcp-mptcp_v0.95/net/mptcp/mptcp_sched.c 2019-07-05 08:00:07.000000000 +0200
|
||||
@@ -0,0 +1,634 @@
|
||||
+/* MPTCP Scheduler module selector. Highly inspired by tcp_cong.c */
|
||||
+
|
||||
+#include <linux/module.h>
|
||||
|
@ -22216,7 +22240,7 @@ diff -aurN linux-4.19.55/net/mptcp/mptcp_sched.c mptcp-mptcp_v0.95/net/mptcp/mpt
|
|||
+ if (tcp_jiffies32 - def_p->last_rbuf_opti < usecs_to_jiffies(tp->srtt_us >> 3))
|
||||
+ goto retrans;
|
||||
+
|
||||
+ /* Half the cwnd of the slow flow */
|
||||
+ /* Half the cwnd of the slow flows */
|
||||
+ mptcp_for_each_sub(tp->mpcb, mptcp) {
|
||||
+ struct tcp_sock *tp_it = mptcp->tp;
|
||||
+
|
||||
|
@ -22233,7 +22257,6 @@ diff -aurN linux-4.19.55/net/mptcp/mptcp_sched.c mptcp-mptcp_v0.95/net/mptcp/mpt
|
|||
+
|
||||
+ def_p->last_rbuf_opti = tcp_jiffies32;
|
||||
+ }
|
||||
+ //break;
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
|
@ -22558,9 +22581,9 @@ diff -aurN linux-4.19.55/net/mptcp/mptcp_sched.c mptcp-mptcp_v0.95/net/mptcp/mpt
|
|||
+ return mptcp_set_default_scheduler(CONFIG_DEFAULT_MPTCP_SCHED);
|
||||
+}
|
||||
+late_initcall(mptcp_scheduler_default);
|
||||
diff -aurN linux-4.19.55/net/mptcp/mptcp_wvegas.c mptcp-mptcp_v0.95/net/mptcp/mptcp_wvegas.c
|
||||
--- linux-4.19.55/net/mptcp/mptcp_wvegas.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ mptcp-mptcp_v0.95/net/mptcp/mptcp_wvegas.c 2019-06-24 09:39:58.000000000 +0200
|
||||
diff -aurN linux-4.19.56/net/mptcp/mptcp_wvegas.c mptcp-mptcp_v0.95/net/mptcp/mptcp_wvegas.c
|
||||
--- linux-4.19.56/net/mptcp/mptcp_wvegas.c 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ mptcp-mptcp_v0.95/net/mptcp/mptcp_wvegas.c 2019-07-05 08:00:07.000000000 +0200
|
||||
@@ -0,0 +1,271 @@
|
||||
+/*
|
||||
+ * MPTCP implementation - WEIGHTED VEGAS
|
||||
|
@ -22833,9 +22856,9 @@ diff -aurN linux-4.19.55/net/mptcp/mptcp_wvegas.c mptcp-mptcp_v0.95/net/mptcp/mp
|
|||
+MODULE_LICENSE("GPL");
|
||||
+MODULE_DESCRIPTION("MPTCP wVegas");
|
||||
+MODULE_VERSION("0.1");
|
||||
diff -aurN linux-4.19.55/tools/include/uapi/linux/bpf.h mptcp-mptcp_v0.95/tools/include/uapi/linux/bpf.h
|
||||
--- linux-4.19.55/tools/include/uapi/linux/bpf.h 2019-06-22 11:23:18.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/tools/include/uapi/linux/bpf.h 2019-06-24 09:39:58.000000000 +0200
|
||||
diff -aurN linux-4.19.56/tools/include/uapi/linux/bpf.h mptcp-mptcp_v0.95/tools/include/uapi/linux/bpf.h
|
||||
--- linux-4.19.56/tools/include/uapi/linux/bpf.h 2019-06-25 05:36:02.000000000 +0200
|
||||
+++ mptcp-mptcp_v0.95/tools/include/uapi/linux/bpf.h 2019-07-05 08:00:07.000000000 +0200
|
||||
@@ -2671,6 +2671,7 @@
|
||||
BPF_TCP_LISTEN,
|
||||
BPF_TCP_CLOSING, /* Now a valid state */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue