This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Osmocom network interface library".
The branch, laforge/socket has been created at d722333eaf57deaafe0e87c7eb2d194e2a9bae3e (commit)
- Log ----------------------------------------------------------------- http://cgit.osmocom.org/libosmo-netif/commit/?id=d722333eaf57deaafe0e87c7eb2...
commit d722333eaf57deaafe0e87c7eb2d194e2a9bae3e Author: Harald Welte laforge@gnumonks.org Date: Sat Apr 8 22:17:19 2017 +0200
stream/datagram: Ensure reliable close/destroy
* when using osmo_*_destroy(), always call *_close() internally to make sure we don't free memory holding references to sockets that are still open * when closing the socket, always make sure to set the fd to -1 in all cases, to avoid attempts to avoid later close() on a new file using the same fd number as the socket closed previously.
Change-Id: I29c37da6e8f5be8ab030e68952a8f92add146821
http://cgit.osmocom.org/libosmo-netif/commit/?id=bffcfa9255e290ec39ccd425d31...
commit bffcfa9255e290ec39ccd425d312024f29d37a93 Author: Harald Welte laforge@gnumonks.org Date: Sat Apr 8 22:09:57 2017 +0200
stream/datagram: Consistently use osmo_talloc_replace_string()
during osmo_*_set_addr(), we must make sure to talloc_free() any old address before copying in the new address. Not all functions did this, and those that did implemented it manually. Let's use osmo_talloc_replace_string() which is exactly intended for this case.
Change-Id: Ie1b140a160c66e8b62c745174865d5ba525cb2c2
http://cgit.osmocom.org/libosmo-netif/commit/?id=6799b3ad840c506949c8c2c1353...
commit 6799b3ad840c506949c8c2c1353f78e70c2d2bf4 Author: Harald Welte laforge@gnumonks.org Date: Sat Apr 8 22:06:37 2017 +0200
stream+datagram: Allow local bind + connect for client sockets
This uses the new osmo_sock_init2() features introduced in libosmocore Change-Id Idab124bcca47872f55311a82d6818aed590965e6 to bind *and* connect a given socket during creation.
Change-Id: I013f4cc10b26d332d52d231f252bb0f03df8c54b
-----------------------------------------------------------------------
hooks/post-receive
osmocom-commitlog@lists.osmocom.org