Gonglei 84f8f3dace tap: fix possible fd leak in net_init_tap
In hotplugging scenario, taking those true branch, the file
handler do not be closed. Let's close them before return.

Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2014-11-02 10:05:35 +03:00
..
2013-03-25 11:13:10 +01:00
2014-06-27 10:39:10 +02:00
2014-06-27 10:39:10 +02:00
2014-11-02 10:04:34 +03:00
2013-02-01 11:03:02 -06:00
2013-02-01 11:03:02 -06:00
2013-02-27 16:10:47 +01:00
2013-02-01 11:03:02 -06:00
2012-12-19 08:31:29 +01:00