]> git.baikalelectronics.ru Git - kernel.git/commit
net: ignore sock_from_file errors in __scm_install_fd
authorChristoph Hellwig <hch@lst.de>
Wed, 13 May 2020 11:07:59 +0000 (13:07 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 May 2020 19:30:54 +0000 (12:30 -0700)
commited80f5d8d70118dc8949fdfda6c9ba5acf03c4f1
tree09c8e3d03ec28d71c173dfdb3043831f61e3c091
parent71ada823cf131d2a3a451136cf96cf22c824b23c
net: ignore sock_from_file errors in __scm_install_fd

The code had historically been ignoring these errors, and my recent
refactoring changed that, which broke ssh in some setups.

Fixes: eb1960064e26 ("net/scm: cleanup scm_detach_fds")
Reported-by: Ido Schimmel <idosch@idosch.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Tested-by: Ido Schimmel <idosch@mellanox.com>
Tested-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/scm.c