]> git.ipfire.org Git - thirdparty/libnl.git/commit
release_local_port: properly compute the bitmap position
authorInaky Perez-Gonzalez <inaky@linux.intel.com>
Mon, 27 Apr 2009 21:46:08 +0000 (14:46 -0700)
committerThomas Graf <tgr@plip.localdomain>
Mon, 4 May 2009 12:56:24 +0000 (14:56 +0200)
commitef8ba32e0ca7ac7bbbaf87f6fd7b197af18aed25
tree52c7b695f82e0f0e9f14940de3a397a49114612a
parent8ee16e6688657886f591f0841cb8e892743ecf2a
release_local_port: properly compute the bitmap position

Current calculation is always off, not reflecting the right position
in the bitmap, which results in failures due to conflicts (detected at
the kernel level) when trying to open a new handle.

Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
lib/socket.c