Skip to content

Commit cd075ce

Browse files
committed
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf
Daniel Borkmann says: ==================== pull-request: bpf 2018-06-02 The following pull-request contains BPF updates for your *net* tree. The main changes are: 1) BPF uapi fix in struct bpf_prog_info and struct bpf_map_info in order to fix offsets on 32 bit archs. This will have a minor merge conflict with net-next which has the __u32 gpl_compatible:1 bitfield in struct bpf_prog_info at this location. Resolution is to use the gpl_compatible member. ==================== Signed-off-by: David S. Miller <[email protected]>
2 parents 9f7c728 + 36f9814 commit cd075ce

File tree

2 files changed

+4
-0
lines changed
  • include/uapi/linux
  • tools/include/uapi/linux

2 files changed

+4
-0
lines changed

include/uapi/linux/bpf.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1017,6 +1017,7 @@ struct bpf_prog_info {
10171017
__aligned_u64 map_ids;
10181018
char name[BPF_OBJ_NAME_LEN];
10191019
__u32 ifindex;
1020+
__u32 :32;
10201021
__u64 netns_dev;
10211022
__u64 netns_ino;
10221023
} __attribute__((aligned(8)));
@@ -1030,6 +1031,7 @@ struct bpf_map_info {
10301031
__u32 map_flags;
10311032
char name[BPF_OBJ_NAME_LEN];
10321033
__u32 ifindex;
1034+
__u32 :32;
10331035
__u64 netns_dev;
10341036
__u64 netns_ino;
10351037
} __attribute__((aligned(8)));

tools/include/uapi/linux/bpf.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1017,6 +1017,7 @@ struct bpf_prog_info {
10171017
__aligned_u64 map_ids;
10181018
char name[BPF_OBJ_NAME_LEN];
10191019
__u32 ifindex;
1020+
__u32 :32;
10201021
__u64 netns_dev;
10211022
__u64 netns_ino;
10221023
} __attribute__((aligned(8)));
@@ -1030,6 +1031,7 @@ struct bpf_map_info {
10301031
__u32 map_flags;
10311032
char name[BPF_OBJ_NAME_LEN];
10321033
__u32 ifindex;
1034+
__u32 :32;
10331035
__u64 netns_dev;
10341036
__u64 netns_ino;
10351037
} __attribute__((aligned(8)));

0 commit comments

Comments
 (0)