tools headers: Fixup tools/include/uapi/linux/bpf.h copy of kernel ABI header
tip-bot for Arnaldo Carvalho de Melo
merge botCommit-ID: d62c1d7213b77eb4952a873ad57727e991ac3306 Gitweb: http://git.kernel.org/tip/d62c1d7213b77eb4952a873ad57727e991ac3306 Author: Arnaldo Carvalho de Melo <[email protected]> AuthorDate: Mon, 31 Jul 2017 10:45:07 -0300 Committer: Arnaldo Carvalho de Melo <[email protected]> CommitDate: Mon, 31 Jul 2017 10:45:07 -0300
tools headers: Fixup tools/include/uapi/linux/bpf.h copy of kernel ABI header
In 2be7e212d541 ("bpf: add bpf_skb_adjust_room helper") BPF_ADJ_ROOM_NET was added to include/uapi/linux/bpf.h but BPF_ADJ_ROOM_NET_OPS was added to tools/include/uapi/linux/bpf.h, making these files differ, fix it by using the same name in both, BPF_ADJ_ROOM_NET, the one in the kernel headers copy.
Cc Adrian Hunter <[email protected]>
Cc Daniel Borkmann <[email protected]>
Cc David Ahern <[email protected]>
Cc David S. Miller <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Namhyung Kim <[email protected]>
Cc Wang Nan <[email protected]>
Fixes 2be7e212d541 ("bpf: add bpf_skb_adjust_room helper")
Signed-off-by Arnaldo Carvalho de Melo <[email protected]>
--- tools/include/uapi/linux/bpf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/include/uapi/linux/bpf.h +1 -1
@@ -643,7 +643,7 @@ enum bpf_func_id {/* Mode for BPF_FUNC_skb_adjust_room helper. */ enum bpf_adj_room_mode { -BPF_ADJ_ROOM_NET_OPTS , +BPF_ADJ_ROOM_NET , };/* user accessible mirror of in-kernel sk_buff.