ccp-project / ccp-kernel

A Linux Kernel module implementing support for CCP congestion control algorithms
https://ccp-project.github.io/
MIT License
21 stars 8 forks source link

libccp: update to new libccp api without global state #19

Closed fcangialosi closed 5 years ago

fcangialosi commented 5 years ago

This PR updates ccp-kernel to use the slightly modified libccp api that does not rely on global state. This change was only necessary for other datapaths that internally use multiple threads. For this datapath, it essentially just moves the global state to be in the namespace of the kernel module as opposed to within libccp.

This should be merged AFTER https://github.com/ccp-project/libccp/pull/48, and should be updated to use the correct commit hash if it changes within libccp.