]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
basic/include/linux: update kernel headers from v6.15-rc4
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 28 Apr 2025 06:50:09 +0000 (15:50 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 29 Apr 2025 12:58:25 +0000 (21:58 +0900)
14 files changed:
src/basic/include/linux/batman_adv.h
src/basic/include/linux/bpf.h
src/basic/include/linux/btrfs.h
src/basic/include/linux/capability.h
src/basic/include/linux/const.h
src/basic/include/linux/ethtool.h
src/basic/include/linux/fib_rules.h
src/basic/include/linux/fs.h
src/basic/include/linux/if_link.h
src/basic/include/linux/mount.h
src/basic/include/linux/nl80211.h
src/basic/include/linux/prctl.h
src/basic/include/linux/rtnetlink.h
src/basic/include/linux/stddef.h

index ebe21775a797809d33a5125229aabd190f810fb0..61689ae859f0ba24447dac6c080fcb471588d312 100644 (file)
@@ -342,7 +342,7 @@ enum batadv_nl_attrs {
        BATADV_ATTR_MCAST_FLAGS_PRIV,
 
        /**
-        * @BATADV_ATTR_VLANID: VLAN id on top of soft interface
+        * @BATADV_ATTR_VLANID: VLAN id on top of mesh interface
         */
        BATADV_ATTR_VLANID,
 
@@ -380,7 +380,7 @@ enum batadv_nl_attrs {
        /**
         * @BATADV_ATTR_BRIDGE_LOOP_AVOIDANCE_ENABLED: whether the bridge loop
         *  avoidance feature is enabled. This feature detects and avoids loops
-        *  between the mesh and devices bridged with the soft interface
+        *  between the mesh and devices bridged with the mesh interface
         */
        BATADV_ATTR_BRIDGE_LOOP_AVOIDANCE_ENABLED,
 
@@ -509,7 +509,7 @@ enum batadv_nl_commands {
        BATADV_CMD_UNSPEC,
 
        /**
-        * @BATADV_CMD_GET_MESH: Get attributes from softif/mesh
+        * @BATADV_CMD_GET_MESH: Get attributes from mesh(if)
         */
        BATADV_CMD_GET_MESH,
 
@@ -535,7 +535,7 @@ enum batadv_nl_commands {
 
        /**
         * @BATADV_CMD_GET_HARDIF: Get attributes from a hardif of the
-        *  current softif
+        *  current mesh(if)
         */
        BATADV_CMD_GET_HARDIF,
 
@@ -591,25 +591,25 @@ enum batadv_nl_commands {
        BATADV_CMD_GET_MCAST_FLAGS,
 
        /**
-        * @BATADV_CMD_SET_MESH: Set attributes for softif/mesh
+        * @BATADV_CMD_SET_MESH: Set attributes for mesh(if)
         */
        BATADV_CMD_SET_MESH,
 
        /**
         * @BATADV_CMD_SET_HARDIF: Set attributes for hardif of the
-        *  current softif
+        *  current mesh(if)
         */
        BATADV_CMD_SET_HARDIF,
 
        /**
         * @BATADV_CMD_GET_VLAN: Get attributes from a VLAN of the
-        *  current softif
+        *  current mesh(if)
         */
        BATADV_CMD_GET_VLAN,
 
        /**
         * @BATADV_CMD_SET_VLAN: Set attributes for VLAN of the
-        *  current softif
+        *  current mesh(if)
         */
        BATADV_CMD_SET_VLAN,
 
@@ -691,7 +691,7 @@ enum batadv_ifla_attrs {
         */
        IFLA_BATADV_ALGO_NAME,
 
-       /* add attributes above here, update the policy in soft-interface.c */
+       /* add attributes above here, update the policy in mesh-interface.c */
 
        /**
         * @__IFLA_BATADV_MAX: internal use
index 535272c7b3124ecc9aca1479de101717360cfd07..00d05b86c90ca1a882462968cbfb16086473e21a 100644 (file)
@@ -51,6 +51,9 @@
 #define BPF_XCHG       (0xe0 | BPF_FETCH)      /* atomic exchange */
 #define BPF_CMPXCHG    (0xf0 | BPF_FETCH)      /* atomic compare-and-write */
 
+#define BPF_LOAD_ACQ   0x100   /* load-acquire */
+#define BPF_STORE_REL  0x110   /* store-release */
+
 enum bpf_cond_pseudo_jmp {
        BPF_MAY_GOTO = 0,
 };
@@ -1207,6 +1210,7 @@ enum bpf_perf_event_type {
 #define BPF_F_BEFORE           (1U << 3)
 #define BPF_F_AFTER            (1U << 4)
 #define BPF_F_ID               (1U << 5)
+#define BPF_F_PREORDER         (1U << 6)
 #define BPF_F_LINK             BPF_F_LINK /* 1 << 13 */
 
 /* If BPF_F_STRICT_ALIGNMENT is used in BPF_PROG_LOAD command, the
@@ -1648,6 +1652,7 @@ union bpf_attr {
                };
                __u32           next_id;
                __u32           open_flags;
+               __s32           fd_by_id_token_fd;
        };
 
        struct { /* anonymous struct used by BPF_OBJ_GET_INFO_BY_FD */
@@ -6019,7 +6024,10 @@ union bpf_attr {
        FN(user_ringbuf_drain, 209, ##ctx)              \
        FN(cgrp_storage_get, 210, ##ctx)                \
        FN(cgrp_storage_delete, 211, ##ctx)             \
-       /* */
+       /* This helper list is effectively frozen. If you are trying to \
+        * add a new helper, you should add a kfunc instead which has   \
+        * less stability guarantees. See Documentation/bpf/kfuncs.rst  \
+        */
 
 /* backwards-compatibility macros for users of __BPF_FUNC_MAPPER that don't
  * know or care about integer value that is now passed as second argument
@@ -6913,6 +6921,12 @@ enum {
        BPF_SOCK_OPS_ALL_CB_FLAGS       = 0x7F,
 };
 
+enum {
+       SK_BPF_CB_TX_TIMESTAMPING       = 1<<0,
+       SK_BPF_CB_MASK                  = (SK_BPF_CB_TX_TIMESTAMPING - 1) |
+                                          SK_BPF_CB_TX_TIMESTAMPING
+};
+
 /* List of known BPF sock_ops operators.
  * New entries can only be added at the end
  */
@@ -7025,6 +7039,29 @@ enum {
                                         * by the kernel or the
                                         * earlier bpf-progs.
                                         */
+       BPF_SOCK_OPS_TSTAMP_SCHED_CB,   /* Called when skb is passing
+                                        * through dev layer when
+                                        * SK_BPF_CB_TX_TIMESTAMPING
+                                        * feature is on.
+                                        */
+       BPF_SOCK_OPS_TSTAMP_SND_SW_CB,  /* Called when skb is about to send
+                                        * to the nic when SK_BPF_CB_TX_TIMESTAMPING
+                                        * feature is on.
+                                        */
+       BPF_SOCK_OPS_TSTAMP_SND_HW_CB,  /* Called in hardware phase when
+                                        * SK_BPF_CB_TX_TIMESTAMPING feature
+                                        * is on.
+                                        */
+       BPF_SOCK_OPS_TSTAMP_ACK_CB,     /* Called when all the skbs in the
+                                        * same sendmsg call are acked
+                                        * when SK_BPF_CB_TX_TIMESTAMPING
+                                        * feature is on.
+                                        */
+       BPF_SOCK_OPS_TSTAMP_SENDMSG_CB, /* Called when every sendmsg syscall
+                                        * is triggered. It's used to correlate
+                                        * sendmsg timestamp with corresponding
+                                        * tskey.
+                                        */
 };
 
 /* List of TCP states. There is a build check in net/ipv4/tcp.c to detect
@@ -7091,6 +7128,7 @@ enum {
        TCP_BPF_SYN_IP          = 1006, /* Copy the IP[46] and TCP header */
        TCP_BPF_SYN_MAC         = 1007, /* Copy the MAC, IP[46], and TCP header */
        TCP_BPF_SOCK_OPS_CB_FLAGS = 1008, /* Get or Set TCP sock ops flags */
+       SK_BPF_CB_FLAGS         = 1009, /* Get or set sock ops flags in socket */
 };
 
 enum {
index d078ee8fcffe0479ec02b89e130fb9db97add4cf..d3c5fdb0d3e793bb02758fbc85c3f8da85b4435b 100644 (file)
@@ -613,7 +613,9 @@ struct btrfs_ioctl_clone_range_args {
  */
 #define BTRFS_DEFRAG_RANGE_COMPRESS 1
 #define BTRFS_DEFRAG_RANGE_START_IO 2
+#define BTRFS_DEFRAG_RANGE_COMPRESS_LEVEL 4
 #define BTRFS_DEFRAG_RANGE_FLAGS_SUPP  (BTRFS_DEFRAG_RANGE_COMPRESS |          \
+                                        BTRFS_DEFRAG_RANGE_COMPRESS_LEVEL |    \
                                         BTRFS_DEFRAG_RANGE_START_IO)
 
 struct btrfs_ioctl_defrag_range_args {
@@ -638,10 +640,18 @@ struct btrfs_ioctl_defrag_range_args {
 
        /*
         * which compression method to use if turning on compression
-        * for this defrag operation.  If unspecified, zlib will
-        * be used
+        * for this defrag operation. If unspecified, zlib will be
+        * used. If compression level is also being specified, set the
+        * BTRFS_DEFRAG_RANGE_COMPRESS_LEVEL flag and fill the compress
+        * member structure instead of the compress_type field.
         */
-       __u32 compress_type;
+       union {
+               __u32 compress_type;
+               struct {
+                       __u8 type;
+                       __s8 level;
+               } compress;
+       };
 
        /* spare for later */
        __u32 unused[4];
index e48f039ec0eca6979ad959949dd22e477361b797..ccab337dfe71058dd775f946cf5dce9cf2ccc7a1 100644 (file)
@@ -273,6 +273,7 @@ struct vfs_ns_cap_data {
 /* Allow setting encryption key on loopback filesystem */
 /* Allow setting zone reclaim policy */
 /* Allow everything under CAP_BPF and CAP_PERFMON for backward compatibility */
+/* Allow setting hardware protection emergency action */
 
 #define CAP_SYS_ADMIN        21
 
index 2122610de7f97a8f0129bbd3e6d6f72e4b405414..95ede2334204048d49b228284e9fbc1561337a16 100644 (file)
@@ -33,7 +33,7 @@
  * Missing __asm__ support
  *
  * __BIT128() would not work in the __asm__ code, as it shifts an
- * 'unsigned __init128' data type as direct representation of
+ * 'unsigned __int128' data type as direct representation of
  * 128 bit constants is not supported in the gcc compiler, as
  * they get silently truncated.
  *
index 3bd99694a1f709fd8904403603bc878e65ba563f..e30efde2b9fe3c3ae0008e577ec467d4dae02a1f 100644 (file)
@@ -2057,6 +2057,24 @@ enum ethtool_link_mode_bit_indices {
        ETHTOOL_LINK_MODE_10baseT1S_Half_BIT             = 100,
        ETHTOOL_LINK_MODE_10baseT1S_P2MP_Half_BIT        = 101,
        ETHTOOL_LINK_MODE_10baseT1BRR_Full_BIT           = 102,
+       ETHTOOL_LINK_MODE_200000baseCR_Full_BIT          = 103,
+       ETHTOOL_LINK_MODE_200000baseKR_Full_BIT          = 104,
+       ETHTOOL_LINK_MODE_200000baseDR_Full_BIT          = 105,
+       ETHTOOL_LINK_MODE_200000baseDR_2_Full_BIT        = 106,
+       ETHTOOL_LINK_MODE_200000baseSR_Full_BIT          = 107,
+       ETHTOOL_LINK_MODE_200000baseVR_Full_BIT          = 108,
+       ETHTOOL_LINK_MODE_400000baseCR2_Full_BIT         = 109,
+       ETHTOOL_LINK_MODE_400000baseKR2_Full_BIT         = 110,
+       ETHTOOL_LINK_MODE_400000baseDR2_Full_BIT         = 111,
+       ETHTOOL_LINK_MODE_400000baseDR2_2_Full_BIT       = 112,
+       ETHTOOL_LINK_MODE_400000baseSR2_Full_BIT         = 113,
+       ETHTOOL_LINK_MODE_400000baseVR2_Full_BIT         = 114,
+       ETHTOOL_LINK_MODE_800000baseCR4_Full_BIT         = 115,
+       ETHTOOL_LINK_MODE_800000baseKR4_Full_BIT         = 116,
+       ETHTOOL_LINK_MODE_800000baseDR4_Full_BIT         = 117,
+       ETHTOOL_LINK_MODE_800000baseDR4_2_Full_BIT       = 118,
+       ETHTOOL_LINK_MODE_800000baseSR4_Full_BIT         = 119,
+       ETHTOOL_LINK_MODE_800000baseVR4_Full_BIT         = 120,
 
        /* must be last entry */
        __ETHTOOL_LINK_MODE_MASK_NBITS
@@ -2269,6 +2287,10 @@ static __inline__ int ethtool_validate_duplex(__u8 duplex)
  * be exploited to reduce the RSS queue spread.
  */
 #define        RXH_XFRM_SYM_XOR        (1 << 0)
+/* Similar to SYM_XOR, except that one copy of the XOR'ed fields is replaced by
+ * an OR of the same fields
+ */
+#define        RXH_XFRM_SYM_OR_XOR     (1 << 1)
 #define        RXH_XFRM_NO_CHANGE      0xff
 
 /* L2-L4 network traffic flow types */
index 00e9890ca3c0555c44aeffb8b7fd35c76bb0403f..2df6e4035d50b7388b4766ea8e1a7c71aa51a068 100644 (file)
@@ -70,6 +70,9 @@ enum {
        FRA_DSCP,       /* dscp */
        FRA_FLOWLABEL,  /* flowlabel */
        FRA_FLOWLABEL_MASK,     /* flowlabel mask */
+       FRA_SPORT_MASK, /* sport mask */
+       FRA_DPORT_MASK, /* dport mask */
+       FRA_DSCP_MASK,  /* dscp mask */
        __FRA_MAX
 };
 
index be1833be4dc7c55ddb061879338cf2ca706cb967..279d5fb4360e3cd6b56fdbf63be46c8fbea80769 100644 (file)
@@ -208,10 +208,8 @@ struct fsxattr {
 #define BLKROTATIONAL _IO(0x12,126)
 #define BLKZEROOUT _IO(0x12,127)
 #define BLKGETDISKSEQ _IOR(0x12,128,__u64)
-/*
- * A jump here: 130-136 are reserved for zoned block devices
- * (see uapi/linux/blkzoned.h)
- */
+/* 130-136 are used by zoned block device ioctls (uapi/linux/blkzoned.h) */
+/* 137-141 are used by blk-crypto ioctls (uapi/linux/blk-crypto.h) */
 
 #define BMAP_IOCTL 1           /* obsolete - kept for compatibility */
 #define FIBMAP    _IO(0x00,1)  /* bmap access */
index 79e97dd1fcdc8b803c0e0d080993a9dd3b5fdee2..ceff2f20496f6eca70fd5dcecbfc78e06e475c49 100644 (file)
@@ -378,6 +378,7 @@ enum {
        IFLA_GRO_IPV4_MAX_SIZE,
        IFLA_DPLL_PIN,
        IFLA_MAX_PACING_OFFLOAD_HORIZON,
+       IFLA_NETNS_IMMUTABLE,
        __IFLA_MAX
 };
 
@@ -1436,6 +1437,7 @@ enum {
        IFLA_GENEVE_TTL_INHERIT,
        IFLA_GENEVE_DF,
        IFLA_GENEVE_INNER_PROTO_INHERIT,
+       IFLA_GENEVE_PORT_RANGE,
        __IFLA_GENEVE_MAX
 };
 #define IFLA_GENEVE_MAX        (__IFLA_GENEVE_MAX - 1)
@@ -1448,6 +1450,11 @@ enum ifla_geneve_df {
        GENEVE_DF_MAX = __GENEVE_DF_END - 1,
 };
 
+struct ifla_geneve_port_range {
+       __be16 low;
+       __be16 high;
+};
+
 /* Bareudp section  */
 enum {
        IFLA_BAREUDP_UNSPEC,
index f3c51f221bdbc7ba60d381bde6196ab8681a20de..4d16593fc1381000ff8660a66632b590602257b5 100644 (file)
@@ -179,7 +179,12 @@ struct statmount {
        __u32 opt_array;        /* [str] Array of nul terminated fs options */
        __u32 opt_sec_num;      /* Number of security options */
        __u32 opt_sec_array;    /* [str] Array of nul terminated security options */
-       __u64 __spare2[46];
+       __u64 supported_mask;   /* Mask flags that this kernel supports */
+       __u32 mnt_uidmap_num;   /* Number of uid mappings */
+       __u32 mnt_uidmap;       /* [str] Array of uid mappings (as seen from callers namespace) */
+       __u32 mnt_gidmap_num;   /* Number of gid mappings */
+       __u32 mnt_gidmap;       /* [str] Array of gid mappings (as seen from callers namespace) */
+       __u64 __spare2[43];
        char str[];             /* Variable size part containing strings */
 };
 
@@ -217,6 +222,9 @@ struct mnt_id_req {
 #define STATMOUNT_SB_SOURCE            0x00000200U     /* Want/got sb_source */
 #define STATMOUNT_OPT_ARRAY            0x00000400U     /* Want/got opt_... */
 #define STATMOUNT_OPT_SEC_ARRAY                0x00000800U     /* Want/got opt_sec... */
+#define STATMOUNT_SUPPORTED_MASK       0x00001000U     /* Want/got supported mask flags */
+#define STATMOUNT_MNT_UIDMAP           0x00002000U     /* Want/got uidmap... */
+#define STATMOUNT_MNT_GIDMAP           0x00004000U     /* Want/got gidmap... */
 
 /*
  * Special @mnt_id values that can be passed to listmount
index f6c1b181c886d23089c8a7a48ffb3c3fe6d63275..ddcc4cda74af5e821fbde6dae78435b3f9bc1604 100644 (file)
@@ -11,7 +11,7 @@
  * Copyright 2008 Jouni Malinen <jouni.malinen@atheros.com>
  * Copyright 2008 Colin McCabe <colin@cozybit.com>
  * Copyright 2015-2017 Intel Deutschland GmbH
- * Copyright (C) 2018-2024 Intel Corporation
+ * Copyright (C) 2018-2025 Intel Corporation
  *
  * Permission to use, copy, modify, and/or distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
@@ -2881,9 +2881,9 @@ enum nl80211_commands {
  * @NL80211_ATTR_VIF_RADIO_MASK: Bitmask of allowed radios (u32).
  *     A value of 0 means all radios.
  *
- * @NL80211_ATTR_SUPPORTED_SELECTORS: supported selectors, array of
- *     supported selectors as defined by IEEE 802.11 7.3.2.2 but without the
- *     length restriction (at most %NL80211_MAX_SUPP_SELECTORS).
+ * @NL80211_ATTR_SUPPORTED_SELECTORS: supported BSS Membership Selectors, array
+ *     of supported selectors as defined by IEEE Std 802.11-2020 9.4.2.3 but
+ *     without the length restriction (at most %NL80211_MAX_SUPP_SELECTORS).
  *     This can be used to provide a list of selectors that are implemented
  *     by the supplicant. If not given, support for SAE_H2E is assumed.
  *
@@ -2893,6 +2893,12 @@ enum nl80211_commands {
  * @NL80211_ATTR_EPCS: Flag attribute indicating that EPCS is enabled for a
  *     station interface.
  *
+ * @NL80211_ATTR_ASSOC_MLD_EXT_CAPA_OPS: Extended MLD capabilities and
+ *     operations that userspace implements to use during association/ML
+ *     link reconfig, currently only "BTM MLD Recommendation For Multiple
+ *     APs Support". Drivers may set additional flags that they support
+ *     in the kernel or device.
+ *
  * @NUM_NL80211_ATTR: total number of nl80211_attrs available
  * @NL80211_ATTR_MAX: highest attribute number currently defined
  * @__NL80211_ATTR_AFTER_LAST: internal use
@@ -3448,6 +3454,8 @@ enum nl80211_attrs {
        NL80211_ATTR_MLO_RECONF_REM_LINKS,
        NL80211_ATTR_EPCS,
 
+       NL80211_ATTR_ASSOC_MLD_EXT_CAPA_OPS,
+
        /* add attributes here, update the policy in nl80211.c */
 
        __NL80211_ATTR_AFTER_LAST,
@@ -4327,6 +4335,8 @@ enum nl80211_wmm_rule {
  *     otherwise completely disabled.
  * @NL80211_FREQUENCY_ATTR_ALLOW_6GHZ_VLP_AP: This channel can be used for a
  *     very low power (VLP) AP, despite being NO_IR.
+ * @NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY: This channel can be active in
+ *     20 MHz bandwidth, despite being NO_IR.
  * @NL80211_FREQUENCY_ATTR_MAX: highest frequency attribute number
  *     currently defined
  * @__NL80211_FREQUENCY_ATTR_AFTER_LAST: internal use
@@ -4371,6 +4381,7 @@ enum nl80211_frequency_attr {
        NL80211_FREQUENCY_ATTR_NO_6GHZ_AFC_CLIENT,
        NL80211_FREQUENCY_ATTR_CAN_MONITOR,
        NL80211_FREQUENCY_ATTR_ALLOW_6GHZ_VLP_AP,
+       NL80211_FREQUENCY_ATTR_ALLOW_20MHZ_ACTIVITY,
 
        /* keep last */
        __NL80211_FREQUENCY_ATTR_AFTER_LAST,
@@ -4582,31 +4593,34 @@ enum nl80211_sched_scan_match_attr {
  * @NL80211_RRF_NO_6GHZ_AFC_CLIENT: Client connection to AFC AP not allowed
  * @NL80211_RRF_ALLOW_6GHZ_VLP_AP: Very low power (VLP) AP can be permitted
  *     despite NO_IR configuration.
+ * @NL80211_RRF_ALLOW_20MHZ_ACTIVITY: Allow activity in 20 MHz bandwidth,
+ *     despite NO_IR configuration.
  */
 enum nl80211_reg_rule_flags {
-       NL80211_RRF_NO_OFDM             = 1<<0,
-       NL80211_RRF_NO_CCK              = 1<<1,
-       NL80211_RRF_NO_INDOOR           = 1<<2,
-       NL80211_RRF_NO_OUTDOOR          = 1<<3,
-       NL80211_RRF_DFS                 = 1<<4,
-       NL80211_RRF_PTP_ONLY            = 1<<5,
-       NL80211_RRF_PTMP_ONLY           = 1<<6,
-       NL80211_RRF_NO_IR               = 1<<7,
-       __NL80211_RRF_NO_IBSS           = 1<<8,
-       NL80211_RRF_AUTO_BW             = 1<<11,
-       NL80211_RRF_IR_CONCURRENT       = 1<<12,
-       NL80211_RRF_NO_HT40MINUS        = 1<<13,
-       NL80211_RRF_NO_HT40PLUS         = 1<<14,
-       NL80211_RRF_NO_80MHZ            = 1<<15,
-       NL80211_RRF_NO_160MHZ           = 1<<16,
-       NL80211_RRF_NO_HE               = 1<<17,
-       NL80211_RRF_NO_320MHZ           = 1<<18,
-       NL80211_RRF_NO_EHT              = 1<<19,
-       NL80211_RRF_PSD                 = 1<<20,
-       NL80211_RRF_DFS_CONCURRENT      = 1<<21,
-       NL80211_RRF_NO_6GHZ_VLP_CLIENT  = 1<<22,
-       NL80211_RRF_NO_6GHZ_AFC_CLIENT  = 1<<23,
-       NL80211_RRF_ALLOW_6GHZ_VLP_AP   = 1<<24,
+       NL80211_RRF_NO_OFDM                 = 1 << 0,
+       NL80211_RRF_NO_CCK                  = 1 << 1,
+       NL80211_RRF_NO_INDOOR               = 1 << 2,
+       NL80211_RRF_NO_OUTDOOR              = 1 << 3,
+       NL80211_RRF_DFS                     = 1 << 4,
+       NL80211_RRF_PTP_ONLY                = 1 << 5,
+       NL80211_RRF_PTMP_ONLY               = 1 << 6,
+       NL80211_RRF_NO_IR                   = 1 << 7,
+       __NL80211_RRF_NO_IBSS               = 1 << 8,
+       NL80211_RRF_AUTO_BW                 = 1 << 11,
+       NL80211_RRF_IR_CONCURRENT           = 1 << 12,
+       NL80211_RRF_NO_HT40MINUS            = 1 << 13,
+       NL80211_RRF_NO_HT40PLUS             = 1 << 14,
+       NL80211_RRF_NO_80MHZ                = 1 << 15,
+       NL80211_RRF_NO_160MHZ               = 1 << 16,
+       NL80211_RRF_NO_HE                   = 1 << 17,
+       NL80211_RRF_NO_320MHZ               = 1 << 18,
+       NL80211_RRF_NO_EHT                  = 1 << 19,
+       NL80211_RRF_PSD                     = 1 << 20,
+       NL80211_RRF_DFS_CONCURRENT          = 1 << 21,
+       NL80211_RRF_NO_6GHZ_VLP_CLIENT      = 1 << 22,
+       NL80211_RRF_NO_6GHZ_AFC_CLIENT      = 1 << 23,
+       NL80211_RRF_ALLOW_6GHZ_VLP_AP       = 1 << 24,
+       NL80211_RRF_ALLOW_20MHZ_ACTIVITY    = 1 << 25,
 };
 
 #define NL80211_RRF_PASSIVE_SCAN       NL80211_RRF_NO_IR
@@ -4727,8 +4741,8 @@ enum nl80211_survey_info {
  * @NL80211_MNTR_FLAG_PLCPFAIL: pass frames with bad PLCP
  * @NL80211_MNTR_FLAG_CONTROL: pass control frames
  * @NL80211_MNTR_FLAG_OTHER_BSS: disable BSSID filtering
- * @NL80211_MNTR_FLAG_COOK_FRAMES: report frames after processing.
- *     overrides all other flags.
+ * @NL80211_MNTR_FLAG_COOK_FRAMES: deprecated
+ *     will unconditionally be refused
  * @NL80211_MNTR_FLAG_ACTIVE: use the configured MAC address
  *     and ACK incoming unicast packets.
  * @NL80211_MNTR_FLAG_SKIP_TX: do not pass local tx packets
index 5c6080680cb27b19b7cabcc444873fecfc6a2b83..15c18ef4eb11a0136b06f5a915145cd0df9cd023 100644 (file)
@@ -353,4 +353,15 @@ struct prctl_mm_map {
  */
 #define PR_LOCK_SHADOW_STACK_STATUS      76
 
+/*
+ * Controls the mode of timer_create() for CRIU restore operations.
+ * Enabling this allows CRIU to restore timers with explicit IDs.
+ *
+ * Don't use for normal operations as the result might be undefined.
+ */
+#define PR_TIMER_CREATE_RESTORE_IDS            77
+# define PR_TIMER_CREATE_RESTORE_IDS_OFF       0
+# define PR_TIMER_CREATE_RESTORE_IDS_ON                1
+# define PR_TIMER_CREATE_RESTORE_IDS_GET       2
+
 #endif /* _LINUX_PRCTL_H */
index 6c652145d8e704bbf2d144482b7d5ad827fb9545..085bb13970307852ae754e7a4ac27d7ca3fecd7b 100644 (file)
@@ -307,6 +307,7 @@ enum {
 #define RTPROT_MROUTED         17      /* Multicast daemon */
 #define RTPROT_KEEPALIVED      18      /* Keepalived daemon */
 #define RTPROT_BABEL           42      /* Babel daemon */
+#define RTPROT_OVN             84      /* OVN daemon */
 #define RTPROT_OPENR           99      /* Open Routing (Open/R) Routes */
 #define RTPROT_BGP             186     /* BGP Routes */
 #define RTPROT_ISIS            187     /* ISIS Routes */
index e1416f793738f56beb5b47447f1c422eb103da72..e1fcfcf3b33261939797d79f4e29a28fa1da6e10 100644 (file)
@@ -70,4 +70,6 @@
 #define __counted_by_be(m)
 #endif
 
+#define __kernel_nonstring
+
 #endif /* _LINUX_STDDEF_H */