@@ -4,15 +4,15 @@
#include <linux/types.h>
-#define MPTCP_SUBFLOW_FLAG_MCAP_REM BIT(0)
-#define MPTCP_SUBFLOW_FLAG_MCAP_LOC BIT(1)
-#define MPTCP_SUBFLOW_FLAG_JOIN_REM BIT(2)
-#define MPTCP_SUBFLOW_FLAG_JOIN_LOC BIT(3)
-#define MPTCP_SUBFLOW_FLAG_BKUP_REM BIT(4)
-#define MPTCP_SUBFLOW_FLAG_BKUP_LOC BIT(5)
-#define MPTCP_SUBFLOW_FLAG_4THACK BIT(6)
-#define MPTCP_SUBFLOW_FLAG_CONNECTED BIT(7)
-#define MPTCP_SUBFLOW_FLAG_MAPVALID BIT(8)
+#define MPTCP_SUBFLOW_FLAG_MCAP_REM BIT(0)
+#define MPTCP_SUBFLOW_FLAG_MCAP_LOC BIT(1)
+#define MPTCP_SUBFLOW_FLAG_JOIN_REM BIT(2)
+#define MPTCP_SUBFLOW_FLAG_JOIN_LOC BIT(3)
+#define MPTCP_SUBFLOW_FLAG_BKUP_REM BIT(4)
+#define MPTCP_SUBFLOW_FLAG_BKUP_LOC BIT(5)
+#define MPTCP_SUBFLOW_FLAG_FULLY_ESTABLISHED BIT(6)
+#define MPTCP_SUBFLOW_FLAG_CONNECTED BIT(7)
+#define MPTCP_SUBFLOW_FLAG_MAPVALID BIT(8)
enum {
MPTCP_SUBFLOW_ATTR_UNSPEC,
@@ -43,8 +43,8 @@ static int subflow_get_info(const struct sock *sk, struct sk_buff *skb)
flags |= MPTCP_SUBFLOW_FLAG_BKUP_REM;
if (sf->request_bkup)
flags |= MPTCP_SUBFLOW_FLAG_BKUP_LOC;
- if (sf->fourth_ack)
- flags |= MPTCP_SUBFLOW_FLAG_4THACK;
+ if (sf->fully_established)
+ flags |= MPTCP_SUBFLOW_FLAG_FULLY_ESTABLISHED;
if (sf->conn_finished)
flags |= MPTCP_SUBFLOW_FLAG_CONNECTED;
if (sf->map_valid)
fix after field name change. Additionally rename the exposed uAPI flags to be more consistent Signed-off-by: Paolo Abeni <pabeni@redhat.com> --- include/uapi/linux/mptcp.h | 18 +++++++++--------- net/mptcp/diag.c | 4 ++-- 2 files changed, 11 insertions(+), 11 deletions(-)