[Patch net-next] call sk_dst_reset when set SO_DONTROUTE

2018-12-05 Thread yupeng
) print('send foo') time.sleep(1) ====== Signed-off-by: yupeng --- net/core/sock.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/core/sock.c b/net/core/sock.c index f5bb89785e47..f00902c532cc 100644 --- a/net/core/sock.c +++ b/net/core/sock.c @@ -700,6 +700,7 @@

[Patch v2 net-next] call sk_dst_reset when set SO_DONTROUTE

2018-12-05 Thread yupeng
client side code: == import socket import time s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.connect(('server_address', 9000)) while True: data = s.recv(1024) print(data) ========

[Patch v2 net-next] call sk_dst_reset when set SO_DONTROUTE

2018-12-05 Thread yupeng
client side code: == import socket import time s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.connect(('server_address', 9000)) while True: data = s.recv(1024) print(data) ========

[Patch v2 net-next] call sk_dst_reset when set SO_DONTROUTE

2018-12-05 Thread yupeng
client side code: == import socket import time s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.connect(('server_address', 9000)) while True: data = s.recv(1024) print(data) ========

[PATCH net-next] add snmp counters document

2018-12-12 Thread yupeng
Add explainations for some general IP counters, SACK and DSACK related counters Signed-off-by: yupeng --- Documentation/networking/snmp_counter.rst | 245 +- 1 file changed, 244 insertions(+), 1 deletion(-) diff --git a/Documentation/networking/snmp_counter.rst b

[PATCH] add an initial version of snmp_counter.rst

2018-11-09 Thread yupeng
The snmp_counter.rst run a set of simple experiments, explains the meaning of snmp counters depend on the experiments' results. This is an initial version, only covers a small part of the snmp counters. Signed-off-by: yupeng --- Documentation/networking/index.rst| 1 + Document

[PATCH net-next v2] documentation of some IP/ICMP snmp counters

2018-11-10 Thread yupeng
ping test. Signed-off-by: yupeng --- Documentation/networking/index.rst| 1 + Documentation/networking/snmp_counter.rst | 222 ++ 2 files changed, 223 insertions(+) create mode 100644 Documentation/networking/snmp_counter.rst diff --git a/Documentation/networking/in

[PATCH net-next] add part of TCP counts explanations in snmp_counters.rst

2018-11-16 Thread yupeng
Add explanations of some generic TCP counters, fast open related counters and TCP abort related counters and several examples. Signed-off-by: yupeng --- Documentation/networking/snmp_counter.rst | 525 +- 1 file changed, 524 insertions(+), 1 deletion(-) diff --git a

[PATCH net-next] add documents for snmp counters

2018-11-25 Thread yupeng
: yupeng --- Documentation/networking/snmp_counter.rst | 202 ++ 1 file changed, 202 insertions(+) diff --git a/Documentation/networking/snmp_counter.rst b/Documentation/networking/snmp_counter.rst index a262d32ed710..918a1374af30 100644 --- a/Documentation/networking

[PATCH] add additional explain in ss man page

2017-10-26 Thread yupeng
Add detail explains of -m, -o, -e and -i options, which are not documented anywhere Signed-off-by: yupeng --- man/man8/ss.8 | 185 -- 1 file changed, 181 insertions(+), 4 deletions(-) diff --git a/man/man8/ss.8 b/man/man8/ss.8 index

[PATCH net] add snmp counter document

2019-01-31 Thread yupeng
add document for tcp retransmission, tcp fast open, syn cookies, challenge ack, prune and several general counters Signed-off-by: yupeng --- Documentation/networking/snmp_counter.rst | 143 ++ 1 file changed, 143 insertions(+) diff --git a/Documentation/networking

[PATCH net] add document for several snmp counters

2019-01-11 Thread yupeng
TcpExtDelayedACKs TcpExtDelayedACKLocked TcpExtDelayedACKLost TcpExtTCPLossProbes TcpExtTCPLossProbeRecovery Signed-off-by: yupeng --- Documentation/networking/snmp_counter.rst | 130 +- 1 file changed, 125 insertions(+), 5 deletions(-) diff --git a/Documentation/networking

[PATCH net-next] remove TWKilled counter

2019-01-17 Thread yupeng
.tcp_fin_timeout or TCP_LINGER2 option) But the 4 seconds threshold makes no sense in this scenario. So remove this counter. Signed-off-by: yupeng --- include/net/inet_timewait_sock.h | 3 +-- include/uapi/linux/snmp.h| 1 - net/ipv4/inet_timewait_sock.c| 31

[PATCH net-next v2] add snmp counter document

2019-02-09 Thread yupeng
add document for tcp retransmission, tcp fast open, syn cookies, challenge ack, prune and several general counters Signed-off-by: yupeng --- Documentation/networking/snmp_counter.rst | 184 +- 1 file changed, 181 insertions(+), 3 deletions(-) diff --git a

[PATCH net-next] add document for TCP OFO, PAWS and skip ACK counters

2018-12-29 Thread yupeng
-off-by: yupeng --- Documentation/networking/snmp_counter.rst | 240 +- 1 file changed, 239 insertions(+), 1 deletion(-) diff --git a/Documentation/networking/snmp_counter.rst b/Documentation/networking/snmp_counter.rst index f8eb77ddbd44..b0dfdaaca512 100644 --- a