[git pull] regression fix

From: Al Viro
Date: Wed Jan 10 2018 - 18:50:44 EST


Fix a regression in "make sock_alloc_file() do sock_release() on failures"

The following changes since commit 040ee69226f8a96b7943645d68f41d5d44b5ff7d:

fix "netfilter: xt_bpf: Fix XT_BPF_MODE_FD_PINNED mode of 'xt_bpf_info_v1'" (2018-01-05 11:43:39 -0500)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git for-linus

for you to fetch changes up to ce4bb04cae8924792ed92f4af2793b77fc986f0e:

Fix a leak in socket(2) when we fail to allocate a file descriptor. (2018-01-10 18:47:05 -0500)

----------------------------------------------------------------
Al Viro (1):
Fix a leak in socket(2) when we fail to allocate a file descriptor.

net/socket.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)