Re: RFC: changed error code when binding unix socket twice

2018-11-29 Thread gregkh
On Wed, Nov 07, 2018 at 04:56:44PM +0100, Petr Vorel wrote: > Hi > > > I forgot that 4.1 has ended a while ago. Greg also sometimes still takes > > patches > > for 3.18, so that might be a candidate aside from 3.18 > > Gregkh, David, does it make sense to you to merge commit 0fb44559ffd6 > ("af

RFC: changed error code when binding unix socket twice

2017-06-30 Thread Michal Kubecek
Hello, commit 0fb44559ffd6 ("af_unix: move unix_mknod() out of bindlock") moves the special file creation in unix_bind() before u->bindlock is taken in order to avoid an ABBA deadlock with do_splice(). As a side effect, it also moves the check for existence of the special file (which would result