Re: [PATCH net] tcp: avoid fastopen API to be used on AF_UNSPEC

2017-05-25 Thread David Miller
From: Wei Wang Date: Wed, 24 May 2017 09:59:31 -0700 > Fastopen API should be used to perform fastopen operations on the TCP > socket. It does not make sense to use fastopen API to perform disconnect > by calling it with AF_UNSPEC. The fastopen data path is also prone to >

[PATCH net] tcp: avoid fastopen API to be used on AF_UNSPEC

2017-05-24 Thread Wei Wang
From: Wei Wang Fastopen API should be used to perform fastopen operations on the TCP socket. It does not make sense to use fastopen API to perform disconnect by calling it with AF_UNSPEC. The fastopen data path is also prone to race conditions and bugs when using with