diff options
author | Tiwei Bie <tiwei.btw@antgroup.com> | 2020-07-15 22:02:26 +0800 |
---|---|---|
committer | Tiwei Bie <tiwei.btw@antfin.com> | 2020-07-15 22:20:02 +0800 |
commit | 505bebae43183a68ee8873764817d282a6c49ec6 (patch) | |
tree | 4b3c634e62ed35bb4ccbe6014cd9f968f37350fa /runsc/boot | |
parent | 1b9965e06a966977a99569484da139d64d1db95e (diff) |
hostinet: fix fd leak in fdnotifier for VFS2
When we failed to create the new socket after adding the fd to
fdnotifier, we should remove the fd from fdnotifier, because we
are going to close the fd directly.
Fixes: #3241
Signed-off-by: Tiwei Bie <tiwei.btw@antgroup.com>
Diffstat (limited to 'runsc/boot')
0 files changed, 0 insertions, 0 deletions