From 7c16a8da6b56d26e222abdda8083724230f0701a Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Mon, 23 Jul 2018 13:47:22 -0700 Subject: [PATCH] uapi: fix tcp.h repair Upstream define for TCP_REPAIR changed. Signed-off-by: Stephen Hemminger --- include/uapi/linux/tcp.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/uapi/linux/tcp.h b/include/uapi/linux/tcp.h index 2e766cf30..99e329b73 100644 --- a/include/uapi/linux/tcp.h +++ b/include/uapi/linux/tcp.h @@ -127,6 +127,10 @@ enum { #define TCP_CM_INQ TCP_INQ +#define TCP_REPAIR_ON 1 +#define TCP_REPAIR_OFF 0 +#define TCP_REPAIR_OFF_NO_WP -1 /* Turn off without window probes */ + struct tcp_repair_opt { __u32 opt_code; __u32 opt_val; -- 2.47.2