commit | 91c330aae51cd6cd44ad730e10dc82724998c810 | [log] [tgz] |
---|---|---|
author | Thomas Graf <tgr@deb.localdomain> | Mon Dec 17 16:26:49 2007 +0100 |
committer | Thomas Graf <tgr@deb.localdomain> | Mon Dec 17 16:26:49 2007 +0100 |
tree | be5b7257e043ef8aac4282d437404a68afae3c87 | |
parent | 5780c640fcf9dee398a72285c7cc34ab8f5c46a3 [diff] |
Fix creation and destruction of sockets Fixes an off-by-one when releasing local ports. Fixes nl_connect() to properly close the socket upon failure. Return EBADFD if operations are performed on unconnected sockets where appropriate. Makes nl_handle_alloc() return an error if all local ports are used up.