The tap_queue and the 'tap_dev' are loosely coupled, not 'macvlan_dev'.
Taking rcu_read_lock a little later seems can slightly reduce rcu read critical
section.
Signed-off-by: Wang Jian
---
drivers/net/tap.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff
duction we did in tcp_mtup_probe() */
+ /* Restores the reduction we did in tcp_mtu_probe() */
tp->snd_cwnd++;
tcp_simple_retransmit(sk);
return;
--
Regards,
Wang Jian
Grep tunnel type directly to make sure 'ip' command supports it.
Signed-off-by: Jian Wang
---
tools/testing/selftests/bpf/test_tunnel.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/bpf/test_tunnel.sh
b/tools/testing/selftests/bpf/test_tunnel.sh
ind
Apr 17, 2018 at 10:43 PM, Eric Dumazet wrote:
>
>
> On 04/17/2018 06:53 AM, Wang Jian wrote:
>> I test the fix with 4.17.0-rc1+ and it seems work.
>>
>> 1. iperf -c IP -i 20 -t 60 -w 1K
>> with-fix vs without-fix : 1.15Gbits/sec vs 1.05Gbits/sec
>> I also
extra retransmit/drops.
On Sun, Apr 15, 2018 at 8:50 PM, Wang Jian wrote:
> Hi all,
>
> While I read __tcp_select_window() code, I find that it maybe return a
> smaller window.
> Below is one scenario I thought, may be not right:
> In function __tcp_select_window(), assume:
> full
Hi all,
While I read __tcp_select_window() code, I find that it maybe return a
smaller window.
Below is one scenario I thought, may be not right:
In function __tcp_select_window(), assume:
full_space is 6mss, free_space is 2mss, tp->rcv_wnd is 3MSS.
And assume disable window scaling, then
window =
>> + kfree(buf);
free tb? buf is an array.
On Wed, Mar 14, 2018 at 8:25 AM, David Miller wrote:
> From: Arnd Bergmann
> Date: Tue, 13 Mar 2018 21:58:39 +0100
>
>> After the removal of the VLA, we get a harmless warning about a large
>> stack frame:
>>
>> net/core/pktgen.c: In function 'pktgen_i
Hi all,
Sorry for broadcast.
Just a query, where can I find netdev2.2 slides?
Seems they are not uploaded to netdev websites.