Re: [PATCH v3] net/af_unix: don't create a path for a binded socket

2020-12-03 Thread Denis Kirjanov
On 12/1/20, Jakub Kicinski wrote: > On Tue, 1 Dec 2020 12:33:06 +0300 Denis Kirjanov wrote: >> in the case of the socket which is bound to an adress >> there is no sense to create a path in the next attempts >> >> here is a program that shows the issue: >> >> int main() >> { >> int s; >>

Re: [PATCH v3] net/af_unix: don't create a path for a binded socket

2020-12-01 Thread Jakub Kicinski
On Tue, 1 Dec 2020 12:33:06 +0300 Denis Kirjanov wrote: > in the case of the socket which is bound to an adress > there is no sense to create a path in the next attempts > > here is a program that shows the issue: > > int main() > { > int s; > struct sockaddr_un a; > > s = socket(AF