Skip to content

Commit c9c5671

Browse files
author
Ossama Othman
authored
mptcpd 0.7
- MPTCP path management generic netlink events recently added to the upstream Linux kernel are now supported, and propagated to mptcpd plugins. The same API is also found in the multipath-tcp.org kernel. Differences between the two kernels are transparent to mptcpd plugins. - Mptcpd now supports the upstream Linux kernel server-oriented MPTCP_PM_CMD_SET_FLAGS generic netlink command through the new mptcpd_pm_set_flags() function. It allows the user to set MPTCP flags for a specific local IP address. - An incorrect buffer size calculation when calling mptcpd_pm_add_addr() when using an IPv6 addresses on platforms running the upstream Linux kernel was corrected. - An "operation not supported" error that occurred when attempting to retrieve MPTCP resource limits through the mptcpd_pm_get_limits() function was fixed. - A network interface lookup problem in the "sspi" plugin was corrected. - Building mptcpd against ELL 0.39 is now supported.
1 parent daf9c24 commit c9c5671

File tree

3 files changed

+40
-15
lines changed

3 files changed

+40
-15
lines changed

NEWS

+25-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,28 @@
1-
- A network interface lookup problem in the "sspi" plugin was fixed.
1+
13 April 2021 - mptcpd 0.7
2+
3+
- MPTCP path management generic netlink events recently added to the
4+
upstream Linux kernel are now supported, and propagated to mptcpd
5+
plugins. The same API is also found in the multipath-tcp.org
6+
kernel. Differences between the two kernels are transparent to
7+
mptcpd plugins.
8+
9+
- Mptcpd now supports the upstream Linux kernel server-oriented
10+
MPTCP_PM_CMD_SET_FLAGS generic netlink command through the new
11+
mptcpd_pm_set_flags() function. It allows the user to set MPTCP
12+
flags for a specific local IP address.
13+
14+
- An incorrect buffer size calculation when calling
15+
mptcpd_pm_add_addr() when using an IPv6 addresses on platforms
16+
running the upstream Linux kernel was corrected.
17+
18+
- An "operation not supported" error that occurred when attempting to
19+
retrieve MPTCP resource limits through the mptcpd_pm_get_limits()
20+
function was fixed.
21+
22+
- A network interface lookup problem in the "sspi" plugin was
23+
corrected.
24+
25+
- Building mptcpd against ELL 0.39 is now supported.
226

327
25 January 2021 - mptcpd 0.6
428

configure.ac

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
AC_PREREQ([2.69])
88
AC_INIT([mptcpd],
9-
[0.6],
9+
[0.7],
1010
1111
[],
1212
[https://github.com/intel/mptcpd])

include/mptcpd/path_manager.h

+14-13
Original file line numberDiff line numberDiff line change
@@ -207,19 +207,6 @@ MPTCPD_API int mptcpd_pm_set_limits(struct mptcpd_pm *pm,
207207
struct mptcpd_limit const *limits,
208208
size_t len);
209209

210-
/**
211-
* @brief Set MPTCP resource limits.
212-
*
213-
* @param[in] pm The mptcpd path manager object.
214-
* @param[in] addr Local IP address.
215-
* @param[in] flags Flags to be associated with @a addr.
216-
*
217-
* @return @c 0 if operation was successful. -1 or @c errno otherwise.
218-
*/
219-
MPTCPD_API int mptcpd_pm_set_flags(struct mptcpd_pm *pm,
220-
struct sockaddr const *addr,
221-
mptcpd_flags_t flags);
222-
223210
/**
224211
* @brief Get MPTCP resource limits.
225212
*
@@ -233,6 +220,20 @@ MPTCPD_API int mptcpd_pm_set_flags(struct mptcpd_pm *pm,
233220
MPTCPD_API int mptcpd_pm_get_limits(struct mptcpd_pm *pm,
234221
mptcpd_pm_get_limits_cb callback,
235222
void *data);
223+
224+
/**
225+
* @brief Set MPTCP flags for a local IP address.
226+
*
227+
* @param[in] pm The mptcpd path manager object.
228+
* @param[in] addr Local IP address.
229+
* @param[in] flags Flags to be associated with @a addr.
230+
*
231+
* @return @c 0 if operation was successful. -1 or @c errno otherwise.
232+
*/
233+
MPTCPD_API int mptcpd_pm_set_flags(struct mptcpd_pm *pm,
234+
struct sockaddr const *addr,
235+
mptcpd_flags_t flags);
236+
236237
//@}
237238

238239
/**

0 commit comments

Comments
 (0)