headers: Remove some left-over license textRemove some left-over from commit e2be04c7f995 ("License cleanup: add SPDXlicense identifier to uapi header files with a license")When the SPDX-License
headers: Remove some left-over license textRemove some left-over from commit e2be04c7f995 ("License cleanup: add SPDXlicense identifier to uapi header files with a license")When the SPDX-License-Identifier tag has been added, the correspondinglicense text has not been removed.Signed-off-by: Christophe JAILLET <[email protected]>Acked-by: Alexander Duyck <[email protected]>Reviewed-by: Jiri Pirko <[email protected]>Acked-by: Jamal Hadi Salim <[email protected]>Link: https://lore.kernel.org/r/88410cddd31197ea26840d7dd71612bece8c6acf.1663871981.git.christophe.jaillet@wanadoo.frSigned-off-by: Jakub Kicinski <[email protected]>
show more ...
net: Move all TC actions identifiers to one placeMove all the TC identifiers to one place, to the same enum that definesthe identifier of police action. This makes it easier choose numbers fornew
net: Move all TC actions identifiers to one placeMove all the TC identifiers to one place, to the same enum that definesthe identifier of police action. This makes it easier choose numbers fornew actions since they are now defined in one place. We preserve theoriginal values for binary compatibility. New IDs should be added insidethe enum.Signed-off-by: Eli Cohen <[email protected]>Acked-by: Jiri Pirko <[email protected]>Signed-off-by: David S. Miller <[email protected]>
tools/bpftool: copy a few net uapi headers to tools directoryCommit f6f3bac08ff9 ("tools/bpf: bpftool: add net support")added certain networking support to bpftool.The implementation relies on a
tools/bpftool: copy a few net uapi headers to tools directoryCommit f6f3bac08ff9 ("tools/bpf: bpftool: add net support")added certain networking support to bpftool.The implementation relies on a relatively recent uapi header filelinux/tc_act/tc_bpf.h on the host which contains the marcodefinition of TCA_ACT_BPF_ID.Unfortunately, this is not the case for all distributions.See the email message below where rhel-7.2 does not havean up-to-date linux/tc_act/tc_bpf.h. https://www.mail-archive.com/[email protected]/msg1799211.htmlFurther investigation found that linux/pkt_cls.h is also needed for macroTCA_BPF_TAG.This patch fixed the issue by copying linux/tc_act/tc_bpf.hand linux/pkt_cls.h from kernel include/uapi directory totools/include/uapi directory so building the bpftool does not dependon host system for these files.Fixes: f6f3bac08ff9 ("tools/bpf: bpftool: add net support")Reported-by: kernel test robot <[email protected]>Cc: Li Zhijian <[email protected]>Signed-off-by: Yonghong Song <[email protected]>Signed-off-by: Daniel Borkmann <[email protected]>