Re: [PATCH] net: improve ipv4 performances

2018-04-03 Thread Douglas Caetano dos Santos
Hi Anton, everyone, On 04/01/18 15:31, Anton Gary Ceph wrote: > As the Linux networking stack is growing, more and more protocols are > added, increasing the complexity of stack itself. > Modern processors, contrary to common belief, are very bad in branch > prediction, so it's our task to give hi

[PATCH] tcp: reinitialize MTU probing when setting MSS in a TCP repair

2017-05-26 Thread Douglas Caetano dos Santos
From: Douglas Caetano dos Santos MTU probing initialization occurred only at connect() and at SYN or SYN-ACK reception, but the former sets MSS to either the default or the user set value (through TCP_MAXSEG sockopt) and the latter never happens with repaired sockets. The result was that, with

[PATCH] net/packet: fix missing net_device reference release

2017-05-12 Thread Douglas Caetano dos Santos
When using a TX ring buffer, if an error occurs processing a control message (e.g. invalid message), the net_device reference is not released. Fixes c14ac9451c348 ("sock: enable timestamping using control messages") Signed-off-by: Douglas Caetano dos Santos --- net/packet/af_pac

[PATCH v3] tcp: fix wrong checksum calculation on MTU probing

2016-09-22 Thread Douglas Caetano dos Santos
e full SKB length. Signed-off-by: Douglas Caetano dos Santos --- net/ipv4/tcp_output.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/net/ipv4/tcp_output.c b/net/ipv4/tcp_output.c index f53d0cc..2d32952 100644 --- a/net/ipv4/tcp_output.c +++ b/net/ipv4/tc

[PATCH v2] tcp: fix wrong checksum calculation on MTU probing

2016-09-21 Thread Douglas Caetano dos Santos
e full SKB length. Signed-off-by: Douglas Caetano dos Santos --- net/ipv4/tcp_output.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/net/ipv4/tcp_output.c b/net/ipv4/tcp_output.c index f53d0cc..767135e 100644 --- a/net/ipv4/tcp_output.c +++ b/net/ipv4/tcp_output.c @

[PATCH] tcp: fix wrong checksum calculation on MTU probing

2016-09-19 Thread Douglas Caetano dos Santos
e full SKB length. Signed-off-by: Douglas Caetano dos Santos --- net/ipv4/tcp_output.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/net/ipv4/tcp_output.c b/net/ipv4/tcp_output.c index f53d0cc..767135e 100644 --- a/net/ipv4/tcp_output.c +++ b/net/ipv4/tcp_output.c @