]> git.tuebingen.mpg.de Git - paraslash.git/commit
net: Let maksock() callers perform flowopt cleanup.
authorAndre Noll <maan@systemlinux.org>
Sun, 8 Sep 2013 07:31:37 +0000 (07:31 +0000)
committerAndre Noll <maan@systemlinux.org>
Wed, 1 Jan 2014 17:50:02 +0000 (17:50 +0000)
commitae5e9dbcaaad643039e44c85891b3d7b383b23dd
tree7e7646897ba095c89bb51ef86d50e4ad8a67caca
parent96c1687a52b775b6786841d586239e071ef139c1
net: Let maksock() callers perform flowopt cleanup.

Currently the flowopt user allocates the flowopt structure but
cleanup is performed in makesock(). This commit makes the API
symmetric by dropping the cleanup part in makesock() and exporting
flowopt_cleanup(). Now callers have to perform both the allocation
and the cleanup.

The single user (ddcp_recv) is adjusted accordingly.
dccp_recv.c
net.c
net.h