Re: [PATCH] bs_sheepdog.c: fix a descriptor leak in connect_to_sdog_tcp()
FUJITA Tomonori <[email protected]>
| Newsgroups | org.kernel.vger.stgt |
|---|---|
| Message-ID | <20131217.064526.1568838937885771271.fujita.tomonori@lab.ntt.co.jp> |
On Tue, 17 Dec 2013 00:52:45 +0900 Ryusuke Konishi <[email protected]> wrote: > When connect_to_sdoc_tcp function failed to connect a socket due to an > error other than EINTR, it doesn't free the socket file descriptor. > > This fixes the leak bug. > > Signed-off-by: Ryusuke Konishi <[email protected]> > --- > usr/bs_sheepdog.c | 1 + > 1 file changed, 1 insertion(+) Applied, thanks.