Blame SOURCES/0019-Update-kernel-headers.patch

0ac2f3
From 4dfaa0a3e4ea077d95d7355e73a8069b1c8af97b Mon Sep 17 00:00:00 2001
0ac2f3
From: Andrea Claudi <aclaudi@redhat.com>
0ac2f3
Date: Thu, 4 Jun 2020 19:26:50 +0200
0ac2f3
Subject: [PATCH] Update kernel headers
0ac2f3
0ac2f3
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1812207
0ac2f3
Upstream Status: unknown commit ce9191ffee31d
0ac2f3
Conflicts: several unrelated missing changes in uapi
0ac2f3
0ac2f3
commit ce9191ffee31d440591bf49ef530b80ee9975dfb
0ac2f3
Author: David Ahern <dsahern@gmail.com>
0ac2f3
Date:   Tue Mar 31 23:23:28 2020 +0000
0ac2f3
0ac2f3
    Update kernel headers
0ac2f3
0ac2f3
    Update kernel headers to commit:
0ac2f3
        7f80ccfe9968 ("net: ipv6: rpl_iptunnel: Fix potential memory leak in rpl_do_srh_inline")
0ac2f3
0ac2f3
    Signed-off-by: David Ahern <dsahern@gmail.com>
0ac2f3
---
0ac2f3
 include/uapi/linux/bpf.h       | 20 +++++++++++++++++++-
0ac2f3
 include/uapi/linux/devlink.h   |  6 ++++++
0ac2f3
 include/uapi/linux/if_link.h   |  5 ++++-
0ac2f3
 include/uapi/linux/inet_diag.h |  1 +
0ac2f3
 include/uapi/linux/lwtunnel.h  |  1 +
0ac2f3
 5 files changed, 31 insertions(+), 2 deletions(-)
0ac2f3
0ac2f3
diff --git a/include/uapi/linux/bpf.h b/include/uapi/linux/bpf.h
0ac2f3
index 6d55239a4cc0f..94aa5a1d38215 100644
0ac2f3
--- a/include/uapi/linux/bpf.h
0ac2f3
+++ b/include/uapi/linux/bpf.h
0ac2f3
@@ -483,7 +483,7 @@ union bpf_attr {
0ac2f3
 		__u32		prog_cnt;
0ac2f3
 	} query;
0ac2f3
 
0ac2f3
-	struct {
0ac2f3
+	struct { /* anonymous struct used by BPF_RAW_TRACEPOINT_OPEN command */
0ac2f3
 		__u64 name;
0ac2f3
 		__u32 prog_fd;
0ac2f3
 	} raw_tracepoint;
0ac2f3
@@ -511,6 +511,24 @@ union bpf_attr {
0ac2f3
 		__u64		probe_offset;	/* output: probe_offset */
0ac2f3
 		__u64		probe_addr;	/* output: probe_addr */
0ac2f3
 	} task_fd_query;
0ac2f3
+
0ac2f3
+	struct { /* struct used by BPF_LINK_CREATE command */
0ac2f3
+		__u32		prog_fd;	/* eBPF program to attach */
0ac2f3
+		__u32		target_fd;	/* object to attach to */
0ac2f3
+		__u32		attach_type;	/* attach type */
0ac2f3
+		__u32		flags;		/* extra flags */
0ac2f3
+	} link_create;
0ac2f3
+
0ac2f3
+	struct { /* struct used by BPF_LINK_UPDATE command */
0ac2f3
+		__u32		link_fd;	/* link fd */
0ac2f3
+		/* new program fd to update link with */
0ac2f3
+		__u32		new_prog_fd;
0ac2f3
+		__u32		flags;		/* extra flags */
0ac2f3
+		/* expected link's program fd; is specified only if
0ac2f3
+		 * BPF_F_REPLACE flag is set in flags */
0ac2f3
+		__u32		old_prog_fd;
0ac2f3
+	} link_update;
0ac2f3
+
0ac2f3
 } __attribute__((aligned(8)));
0ac2f3
 
0ac2f3
 /* The description below is an attempt at providing documentation to eBPF
0ac2f3
diff --git a/include/uapi/linux/devlink.h b/include/uapi/linux/devlink.h
0ac2f3
index 79e1405db67cc..e63aeab76bcb8 100644
0ac2f3
--- a/include/uapi/linux/devlink.h
0ac2f3
+++ b/include/uapi/linux/devlink.h
0ac2f3
@@ -117,6 +117,11 @@ enum devlink_command {
0ac2f3
 	DEVLINK_CMD_TRAP_GROUP_NEW,
0ac2f3
 	DEVLINK_CMD_TRAP_GROUP_DEL,
0ac2f3
 
0ac2f3
+	DEVLINK_CMD_TRAP_POLICER_GET,	/* can dump */
0ac2f3
+	DEVLINK_CMD_TRAP_POLICER_SET,
0ac2f3
+	DEVLINK_CMD_TRAP_POLICER_NEW,
0ac2f3
+	DEVLINK_CMD_TRAP_POLICER_DEL,
0ac2f3
+
0ac2f3
 	/* add new commands above here */
0ac2f3
 	__DEVLINK_CMD_MAX,
0ac2f3
 	DEVLINK_CMD_MAX = __DEVLINK_CMD_MAX - 1
0ac2f3
@@ -216,6 +221,7 @@ enum devlink_param_reset_dev_on_drv_probe_value {
0ac2f3
 enum {
0ac2f3
 	DEVLINK_ATTR_STATS_RX_PACKETS,		/* u64 */
0ac2f3
 	DEVLINK_ATTR_STATS_RX_BYTES,		/* u64 */
0ac2f3
+	DEVLINK_ATTR_STATS_RX_DROPPED,		/* u64 */
0ac2f3
 
0ac2f3
 	__DEVLINK_ATTR_STATS_MAX,
0ac2f3
 	DEVLINK_ATTR_STATS_MAX = __DEVLINK_ATTR_STATS_MAX - 1
0ac2f3
diff --git a/include/uapi/linux/if_link.h b/include/uapi/linux/if_link.h
0ac2f3
index 4da0768d7a5a3..5d69479b8052d 100644
0ac2f3
--- a/include/uapi/linux/if_link.h
0ac2f3
+++ b/include/uapi/linux/if_link.h
0ac2f3
@@ -459,6 +459,7 @@ enum {
0ac2f3
 	IFLA_MACSEC_REPLAY_PROTECT,
0ac2f3
 	IFLA_MACSEC_VALIDATION,
0ac2f3
 	IFLA_MACSEC_PAD,
0ac2f3
+	IFLA_MACSEC_OFFLOAD,
0ac2f3
 	__IFLA_MACSEC_MAX,
0ac2f3
 };
0ac2f3
 
0ac2f3
@@ -949,11 +950,12 @@ enum {
0ac2f3
 #define XDP_FLAGS_SKB_MODE		(1U << 1)
0ac2f3
 #define XDP_FLAGS_DRV_MODE		(1U << 2)
0ac2f3
 #define XDP_FLAGS_HW_MODE		(1U << 3)
0ac2f3
+#define XDP_FLAGS_REPLACE		(1U << 4)
0ac2f3
 #define XDP_FLAGS_MODES			(XDP_FLAGS_SKB_MODE | \
0ac2f3
 					 XDP_FLAGS_DRV_MODE | \
0ac2f3
 					 XDP_FLAGS_HW_MODE)
0ac2f3
 #define XDP_FLAGS_MASK			(XDP_FLAGS_UPDATE_IF_NOEXIST | \
0ac2f3
-					 XDP_FLAGS_MODES)
0ac2f3
+					 XDP_FLAGS_MODES | XDP_FLAGS_REPLACE)
0ac2f3
 
0ac2f3
 /* These are stored into IFLA_XDP_ATTACHED on dump. */
0ac2f3
 enum {
0ac2f3
@@ -973,6 +975,7 @@ enum {
0ac2f3
 	IFLA_XDP_DRV_PROG_ID,
0ac2f3
 	IFLA_XDP_SKB_PROG_ID,
0ac2f3
 	IFLA_XDP_HW_PROG_ID,
0ac2f3
+	IFLA_XDP_EXPECTED_FD,
0ac2f3
 	__IFLA_XDP_MAX,
0ac2f3
 };
0ac2f3
 
0ac2f3
diff --git a/include/uapi/linux/inet_diag.h b/include/uapi/linux/inet_diag.h
0ac2f3
index 3dff6841486a4..db45fc664a5fd 100644
0ac2f3
--- a/include/uapi/linux/inet_diag.h
0ac2f3
+++ b/include/uapi/linux/inet_diag.h
0ac2f3
@@ -163,6 +163,7 @@ enum {
0ac2f3
 	INET_ULP_INFO_UNSPEC,
0ac2f3
 	INET_ULP_INFO_NAME,
0ac2f3
 	INET_ULP_INFO_TLS,
0ac2f3
+	INET_ULP_INFO_MPTCP,
0ac2f3
 	__INET_ULP_INFO_MAX,
0ac2f3
 };
0ac2f3
 #define INET_ULP_INFO_MAX (__INET_ULP_INFO_MAX - 1)
0ac2f3
diff --git a/include/uapi/linux/lwtunnel.h b/include/uapi/linux/lwtunnel.h
0ac2f3
index 3f3fe6f30df0b..0ba94063c1809 100644
0ac2f3
--- a/include/uapi/linux/lwtunnel.h
0ac2f3
+++ b/include/uapi/linux/lwtunnel.h
0ac2f3
@@ -13,6 +13,7 @@ enum lwtunnel_encap_types {
0ac2f3
 	LWTUNNEL_ENCAP_SEG6,
0ac2f3
 	LWTUNNEL_ENCAP_BPF,
0ac2f3
 	LWTUNNEL_ENCAP_SEG6_LOCAL,
0ac2f3
+	LWTUNNEL_ENCAP_RPL,
0ac2f3
 	__LWTUNNEL_ENCAP_MAX,
0ac2f3
 };
0ac2f3
 
0ac2f3
-- 
0ac2f3
2.26.2
0ac2f3