Merge tag 'v4.8-rc8' into drm-next
Linux 4.8-rc8 There was a lot of fallout in the imx/amdgpu/i915 drivers, so backmerge it now to avoid troubles. * tag 'v4.8-rc8': (1442 commits) Linux 4.8-rc8 fault_in_multipages_readable() throws set-but-unused error mm: check VMA flags to avoid invalid PROT_NONE NUMA balancing radix tree: fix sibling entry handling in radix_tree_descend() radix tree test suite: Test radix_tree_replace_slot() for multiorder entries fix memory leaks in tracing_buffers_splice_read() tracing: Move mutex to protect against resetting of seq data MIPS: Fix delay slot emulation count in debugfs MIPS: SMP: Fix possibility of deadlock when bringing CPUs online mm: delete unnecessary and unsafe init_tlb_ubc() huge tmpfs: fix Committed_AS leak shmem: fix tmpfs to handle the huge= option properly blk-mq: skip unmapped queues in blk_mq_alloc_request_hctx MIPS: Fix pre-r6 emulation FPU initialisation arm64: kgdb: handle read-only text / modules arm64: Call numa_store_cpu_info() earlier. locking/hung_task: Fix typo in CONFIG_DETECT_HUNG_TASK help text nvme-rdma: only clear queue flags after successful connect i2c: qup: skip qup_i2c_suspend if the device is already runtime suspended perf/core: Limit matching exclusive events to one PMU ...
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
|
||||
#include <linux/atmapi.h>
|
||||
#include <linux/atmioc.h>
|
||||
#include <linux/time.h>
|
||||
|
||||
#define ZATM_GETPOOL _IOW('a',ATMIOC_SARPRV+1,struct atmif_sioc)
|
||||
/* get pool statistics */
|
||||
|
@@ -339,7 +339,7 @@ enum bpf_func_id {
|
||||
BPF_FUNC_skb_change_type,
|
||||
|
||||
/**
|
||||
* bpf_skb_in_cgroup(skb, map, index) - Check cgroup2 membership of skb
|
||||
* bpf_skb_under_cgroup(skb, map, index) - Check cgroup2 membership of skb
|
||||
* @skb: pointer to skb
|
||||
* @map: pointer to bpf_map in BPF_MAP_TYPE_CGROUP_ARRAY type
|
||||
* @index: index of the cgroup in the bpf_map
|
||||
@@ -348,7 +348,7 @@ enum bpf_func_id {
|
||||
* == 1 skb succeeded the cgroup2 descendant test
|
||||
* < 0 error
|
||||
*/
|
||||
BPF_FUNC_skb_in_cgroup,
|
||||
BPF_FUNC_skb_under_cgroup,
|
||||
|
||||
/**
|
||||
* bpf_get_hash_recalc(skb)
|
||||
|
@@ -16,7 +16,8 @@
|
||||
#define _UAPI__LINUX_IF_PPPOL2TP_H
|
||||
|
||||
#include <linux/types.h>
|
||||
|
||||
#include <linux/in.h>
|
||||
#include <linux/in6.h>
|
||||
|
||||
/* Structure used to connect() the socket to a particular tunnel UDP
|
||||
* socket over IPv4.
|
||||
|
@@ -21,8 +21,11 @@
|
||||
#include <asm/byteorder.h>
|
||||
|
||||
#include <linux/socket.h>
|
||||
#include <linux/if.h>
|
||||
#include <linux/if_ether.h>
|
||||
#include <linux/if_pppol2tp.h>
|
||||
#include <linux/in.h>
|
||||
#include <linux/in6.h>
|
||||
|
||||
/* For user-space programs to pick up these definitions
|
||||
* which they wouldn't get otherwise without defining __KERNEL__
|
||||
|
@@ -2,6 +2,9 @@
|
||||
#define _UAPI_IF_TUNNEL_H_
|
||||
|
||||
#include <linux/types.h>
|
||||
#include <linux/if.h>
|
||||
#include <linux/ip.h>
|
||||
#include <linux/in6.h>
|
||||
#include <asm/byteorder.h>
|
||||
|
||||
|
||||
|
@@ -1,11 +1,13 @@
|
||||
#ifndef _IPX_H_
|
||||
#define _IPX_H_
|
||||
#include <linux/libc-compat.h> /* for compatibility with glibc netipx/ipx.h */
|
||||
#include <linux/types.h>
|
||||
#include <linux/sockios.h>
|
||||
#include <linux/socket.h>
|
||||
#define IPX_NODE_LEN 6
|
||||
#define IPX_MTU 576
|
||||
|
||||
#if __UAPI_DEF_SOCKADDR_IPX
|
||||
struct sockaddr_ipx {
|
||||
__kernel_sa_family_t sipx_family;
|
||||
__be16 sipx_port;
|
||||
@@ -14,6 +16,7 @@ struct sockaddr_ipx {
|
||||
__u8 sipx_type;
|
||||
unsigned char sipx_zero; /* 16 byte fill */
|
||||
};
|
||||
#endif /* __UAPI_DEF_SOCKADDR_IPX */
|
||||
|
||||
/*
|
||||
* So we can fit the extra info for SIOCSIFADDR into the address nicely
|
||||
@@ -23,12 +26,15 @@ struct sockaddr_ipx {
|
||||
#define IPX_DLTITF 0
|
||||
#define IPX_CRTITF 1
|
||||
|
||||
#if __UAPI_DEF_IPX_ROUTE_DEFINITION
|
||||
struct ipx_route_definition {
|
||||
__be32 ipx_network;
|
||||
__be32 ipx_router_network;
|
||||
unsigned char ipx_router_node[IPX_NODE_LEN];
|
||||
};
|
||||
#endif /* __UAPI_DEF_IPX_ROUTE_DEFINITION */
|
||||
|
||||
#if __UAPI_DEF_IPX_INTERFACE_DEFINITION
|
||||
struct ipx_interface_definition {
|
||||
__be32 ipx_network;
|
||||
unsigned char ipx_device[16];
|
||||
@@ -45,16 +51,20 @@ struct ipx_interface_definition {
|
||||
#define IPX_INTERNAL 2
|
||||
unsigned char ipx_node[IPX_NODE_LEN];
|
||||
};
|
||||
|
||||
#endif /* __UAPI_DEF_IPX_INTERFACE_DEFINITION */
|
||||
|
||||
#if __UAPI_DEF_IPX_CONFIG_DATA
|
||||
struct ipx_config_data {
|
||||
unsigned char ipxcfg_auto_select_primary;
|
||||
unsigned char ipxcfg_auto_create_interfaces;
|
||||
};
|
||||
#endif /* __UAPI_DEF_IPX_CONFIG_DATA */
|
||||
|
||||
/*
|
||||
* OLD Route Definition for backward compatibility.
|
||||
*/
|
||||
|
||||
#if __UAPI_DEF_IPX_ROUTE_DEF
|
||||
struct ipx_route_def {
|
||||
__be32 ipx_network;
|
||||
__be32 ipx_router_network;
|
||||
@@ -67,6 +77,7 @@ struct ipx_route_def {
|
||||
#define IPX_RT_BLUEBOOK 2
|
||||
#define IPX_RT_ROUTED 1
|
||||
};
|
||||
#endif /* __UAPI_DEF_IPX_ROUTE_DEF */
|
||||
|
||||
#define SIOCAIPXITFCRT (SIOCPROTOPRIVATE)
|
||||
#define SIOCAIPXPRISLT (SIOCPROTOPRIVATE + 1)
|
||||
|
@@ -139,6 +139,25 @@
|
||||
|
||||
#endif /* _NETINET_IN_H */
|
||||
|
||||
/* Coordinate with glibc netipx/ipx.h header. */
|
||||
#if defined(__NETIPX_IPX_H)
|
||||
|
||||
#define __UAPI_DEF_SOCKADDR_IPX 0
|
||||
#define __UAPI_DEF_IPX_ROUTE_DEFINITION 0
|
||||
#define __UAPI_DEF_IPX_INTERFACE_DEFINITION 0
|
||||
#define __UAPI_DEF_IPX_CONFIG_DATA 0
|
||||
#define __UAPI_DEF_IPX_ROUTE_DEF 0
|
||||
|
||||
#else /* defined(__NETIPX_IPX_H) */
|
||||
|
||||
#define __UAPI_DEF_SOCKADDR_IPX 1
|
||||
#define __UAPI_DEF_IPX_ROUTE_DEFINITION 1
|
||||
#define __UAPI_DEF_IPX_INTERFACE_DEFINITION 1
|
||||
#define __UAPI_DEF_IPX_CONFIG_DATA 1
|
||||
#define __UAPI_DEF_IPX_ROUTE_DEF 1
|
||||
|
||||
#endif /* defined(__NETIPX_IPX_H) */
|
||||
|
||||
/* Definitions for xattr.h */
|
||||
#if defined(_SYS_XATTR_H)
|
||||
#define __UAPI_DEF_XATTR 0
|
||||
@@ -179,6 +198,13 @@
|
||||
#define __UAPI_DEF_IN6_PKTINFO 1
|
||||
#define __UAPI_DEF_IP6_MTUINFO 1
|
||||
|
||||
/* Definitions for ipx.h */
|
||||
#define __UAPI_DEF_SOCKADDR_IPX 1
|
||||
#define __UAPI_DEF_IPX_ROUTE_DEFINITION 1
|
||||
#define __UAPI_DEF_IPX_INTERFACE_DEFINITION 1
|
||||
#define __UAPI_DEF_IPX_CONFIG_DATA 1
|
||||
#define __UAPI_DEF_IPX_ROUTE_DEF 1
|
||||
|
||||
/* Definitions for xattr.h */
|
||||
#define __UAPI_DEF_XATTR 1
|
||||
|
||||
|
@@ -24,7 +24,7 @@ enum nft_registers {
|
||||
__NFT_REG_MAX,
|
||||
|
||||
NFT_REG32_00 = 8,
|
||||
MFT_REG32_01,
|
||||
NFT_REG32_01,
|
||||
NFT_REG32_02,
|
||||
NFT_REG32_03,
|
||||
NFT_REG32_04,
|
||||
|
@@ -583,7 +583,7 @@ enum ovs_userspace_attr {
|
||||
#define OVS_USERSPACE_ATTR_MAX (__OVS_USERSPACE_ATTR_MAX - 1)
|
||||
|
||||
struct ovs_action_trunc {
|
||||
uint32_t max_len; /* Max packet size in bytes. */
|
||||
__u32 max_len; /* Max packet size in bytes. */
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -632,8 +632,8 @@ enum ovs_hash_alg {
|
||||
* @hash_basis: basis used for computing hash.
|
||||
*/
|
||||
struct ovs_action_hash {
|
||||
uint32_t hash_alg; /* One of ovs_hash_alg. */
|
||||
uint32_t hash_basis;
|
||||
__u32 hash_alg; /* One of ovs_hash_alg. */
|
||||
__u32 hash_basis;
|
||||
};
|
||||
|
||||
/**
|
||||
|
@@ -944,4 +944,68 @@ struct sctp_default_prinfo {
|
||||
__u16 pr_policy;
|
||||
};
|
||||
|
||||
struct sctp_info {
|
||||
__u32 sctpi_tag;
|
||||
__u32 sctpi_state;
|
||||
__u32 sctpi_rwnd;
|
||||
__u16 sctpi_unackdata;
|
||||
__u16 sctpi_penddata;
|
||||
__u16 sctpi_instrms;
|
||||
__u16 sctpi_outstrms;
|
||||
__u32 sctpi_fragmentation_point;
|
||||
__u32 sctpi_inqueue;
|
||||
__u32 sctpi_outqueue;
|
||||
__u32 sctpi_overall_error;
|
||||
__u32 sctpi_max_burst;
|
||||
__u32 sctpi_maxseg;
|
||||
__u32 sctpi_peer_rwnd;
|
||||
__u32 sctpi_peer_tag;
|
||||
__u8 sctpi_peer_capable;
|
||||
__u8 sctpi_peer_sack;
|
||||
__u16 __reserved1;
|
||||
|
||||
/* assoc status info */
|
||||
__u64 sctpi_isacks;
|
||||
__u64 sctpi_osacks;
|
||||
__u64 sctpi_opackets;
|
||||
__u64 sctpi_ipackets;
|
||||
__u64 sctpi_rtxchunks;
|
||||
__u64 sctpi_outofseqtsns;
|
||||
__u64 sctpi_idupchunks;
|
||||
__u64 sctpi_gapcnt;
|
||||
__u64 sctpi_ouodchunks;
|
||||
__u64 sctpi_iuodchunks;
|
||||
__u64 sctpi_oodchunks;
|
||||
__u64 sctpi_iodchunks;
|
||||
__u64 sctpi_octrlchunks;
|
||||
__u64 sctpi_ictrlchunks;
|
||||
|
||||
/* primary transport info */
|
||||
struct sockaddr_storage sctpi_p_address;
|
||||
__s32 sctpi_p_state;
|
||||
__u32 sctpi_p_cwnd;
|
||||
__u32 sctpi_p_srtt;
|
||||
__u32 sctpi_p_rto;
|
||||
__u32 sctpi_p_hbinterval;
|
||||
__u32 sctpi_p_pathmaxrxt;
|
||||
__u32 sctpi_p_sackdelay;
|
||||
__u32 sctpi_p_sackfreq;
|
||||
__u32 sctpi_p_ssthresh;
|
||||
__u32 sctpi_p_partial_bytes_acked;
|
||||
__u32 sctpi_p_flight_size;
|
||||
__u16 sctpi_p_error;
|
||||
__u16 __reserved2;
|
||||
|
||||
/* sctp sock info */
|
||||
__u32 sctpi_s_autoclose;
|
||||
__u32 sctpi_s_adaptation_ind;
|
||||
__u32 sctpi_s_pd_point;
|
||||
__u8 sctpi_s_nodelay;
|
||||
__u8 sctpi_s_disable_fragments;
|
||||
__u8 sctpi_s_v4mapped;
|
||||
__u8 sctpi_s_frag_interleave;
|
||||
__u32 sctpi_s_type;
|
||||
__u32 __reserved3;
|
||||
};
|
||||
|
||||
#endif /* _UAPI_SCTP_H */
|
||||
|
Reference in New Issue
Block a user