Re: [PATCHv2 net] bonding: discard lowest hash bit for 802.3ad layer3+4

2017-11-07 Thread David Miller
From: Hangbin Liu Date: Mon, 6 Nov 2017 09:01:57 +0800 > After commit 07f4c90062f8 ("tcp/dccp: try to not exhaust ip_local_port_range > in connect()"), we will try to use even ports for connect(). Then if an > application (seen clearly with iperf) opens multiple streams to

[PATCHv2 net] bonding: discard lowest hash bit for 802.3ad layer3+4

2017-11-05 Thread Hangbin Liu
After commit 07f4c90062f8 ("tcp/dccp: try to not exhaust ip_local_port_range in connect()"), we will try to use even ports for connect(). Then if an application (seen clearly with iperf) opens multiple streams to the same destination IP and port, each stream will be given an even source port. So