tgraf/libnl — pull request #5 by socketpair (2012-08-29 22:40:23+00:00)
Title: Prevent potential socket file descriptor leak

This may happen when passing connected socket to nl_cache_mngr_alloc().

Now, nl_connect() will return error trying to connect already connected socket.

Also, dont call close(-1) if socket() fails.