Re: [PATCH net] tcp: avoid creating multiple req socks with the same tuples

2019-06-05 Thread Eric Dumazet
On 6/5/19 1:52 AM, Zhiqiang Liu wrote: > > > 在 2019/6/4 23:24, Eric Dumazet 写道: >> On Tue, Jun 4, 2019 at 7:47 AM Mao Wenan wrote: >>> >>> There is one issue about bonding mode BOND_MODE_BROADCAST, and >>> two slaves with diffierent affinity, so packets will be handled >>> by different cpu.

Re: [PATCH net] tcp: avoid creating multiple req socks with the same tuples

2019-06-05 Thread Zhiqiang Liu
在 2019/6/4 23:24, Eric Dumazet 写道: > On Tue, Jun 4, 2019 at 7:47 AM Mao Wenan wrote: >> >> There is one issue about bonding mode BOND_MODE_BROADCAST, and >> two slaves with diffierent affinity, so packets will be handled >> by different cpu. These are two pre-conditions in this case. >>

Re: [PATCH net] tcp: avoid creating multiple req socks with the same tuples

2019-06-04 Thread Eric Dumazet
On Tue, Jun 4, 2019 at 7:07 PM maowenan wrote: > > > > On 2019/6/4 23:24, Eric Dumazet wrote: > > On Tue, Jun 4, 2019 at 7:47 AM Mao Wenan wrote: > >> > >> There is one issue about bonding mode BOND_MODE_BROADCAST, and > >> two slaves with diffierent affinity, so packets will be handled > >> by

Re: [PATCH net] tcp: avoid creating multiple req socks with the same tuples

2019-06-04 Thread maowenan
On 2019/6/4 23:24, Eric Dumazet wrote: > On Tue, Jun 4, 2019 at 7:47 AM Mao Wenan wrote: >> >> There is one issue about bonding mode BOND_MODE_BROADCAST, and >> two slaves with diffierent affinity, so packets will be handled >> by different cpu. These are two pre-conditions in this case. >> >>

Re: [PATCH net] tcp: avoid creating multiple req socks with the same tuples

2019-06-04 Thread Eric Dumazet
On Tue, Jun 4, 2019 at 7:47 AM Mao Wenan wrote: > > There is one issue about bonding mode BOND_MODE_BROADCAST, and > two slaves with diffierent affinity, so packets will be handled > by different cpu. These are two pre-conditions in this case. > > When two slaves receive the same syn packets at

[PATCH net] tcp: avoid creating multiple req socks with the same tuples

2019-06-04 Thread Mao Wenan
There is one issue about bonding mode BOND_MODE_BROADCAST, and two slaves with diffierent affinity, so packets will be handled by different cpu. These are two pre-conditions in this case. When two slaves receive the same syn packets at the same time, two request sock(reqsk) will be created if