net: sched: add em_ipt ematch for calling xtables matchesThe commit a new tc ematch for using netfilter xtable matches.This allows early classification as well as mirroning/redirecting trafficba
net: sched: add em_ipt ematch for calling xtables matchesThe commit a new tc ematch for using netfilter xtable matches.This allows early classification as well as mirroning/redirecting trafficbased on logic implemented in netfilter extensions.Current supported use case is classification based on the incoming IPSecstate used during decpsulation using the 'policy' iptables extension(xt_policy).The module dynamically fetches the netfilter match module and callsit using a fake xt_action_param structure based on validated userspaceprovided parameters.As the xt_policy match does not access skb->data, no skb modificationsare needed on match.Signed-off-by: Eyal Birger <[email protected]>Signed-off-by: David S. Miller <[email protected]>
show more ...
License cleanup: add SPDX license identifier to uapi header files with no licenseMany user space API headers are missing licensing information, whichmakes it hard for compliance tools to determine
License cleanup: add SPDX license identifier to uapi header files with no licenseMany user space API headers are missing licensing information, whichmakes it hard for compliance tools to determine the correct license.By default are files without license information under the defaultlicense of the kernel, which is GPLV2. Marking them GPLV2 would excludethem from being included in non GPLV2 code, which is obviously notintended. The user space API headers fall under the syscall exceptionwhich is in the kernels COPYING file: NOTE! This copyright does *not* cover user programs that use kernel services by normal system calls - this is merely considered normal use of the kernel, and does *not* fall under the heading of "derived work".otherwise syscall usage would not be possible.Update the files which contain no license information with an SPDXlicense identifier. The chosen identifier is 'GPL-2.0 WITHLinux-syscall-note' which is the officially assigned identifier for theLinux syscall exception. SPDX license identifiers are a legally bindingshorthand, which can be used instead of the full boiler plate text.This patch is based on work done by Thomas Gleixner and Kate Stewart andPhilippe Ombredanne. See the previous patch in this series for themethodology of how this patch was researched.Reviewed-by: Kate Stewart <[email protected]>Reviewed-by: Philippe Ombredanne <[email protected]>Reviewed-by: Thomas Gleixner <[email protected]>Signed-off-by: Greg Kroah-Hartman <[email protected]>
uapi: export all headers under uapi directoriesRegularly, when a new header is created in include/uapi/, the developerforgets to add it in the corresponding Kbuild file. This error is usuallydete
uapi: export all headers under uapi directoriesRegularly, when a new header is created in include/uapi/, the developerforgets to add it in the corresponding Kbuild file. This error is usuallydetected after the release is out.In fact, all headers under uapi directories should be exported, thus it'suseless to have an exhaustive list.After this patch, the following files, which were not exported, are nowexported (with make headers_install_all):asm-arc/kvm_para.hasm-arc/ucontext.hasm-blackfin/shmparam.hasm-blackfin/ucontext.hasm-c6x/shmparam.hasm-c6x/ucontext.hasm-cris/kvm_para.hasm-h8300/shmparam.hasm-h8300/ucontext.hasm-hexagon/shmparam.hasm-m32r/kvm_para.hasm-m68k/kvm_para.hasm-m68k/shmparam.hasm-metag/kvm_para.hasm-metag/shmparam.hasm-metag/ucontext.hasm-mips/hwcap.hasm-mips/reg.hasm-mips/ucontext.hasm-nios2/kvm_para.hasm-nios2/ucontext.hasm-openrisc/shmparam.hasm-parisc/kvm_para.hasm-powerpc/perf_regs.hasm-sh/kvm_para.hasm-sh/ucontext.hasm-tile/shmparam.hasm-unicore32/shmparam.hasm-unicore32/ucontext.hasm-x86/hwcap2.hasm-xtensa/kvm_para.hdrm/armada_drm.hdrm/etnaviv_drm.hdrm/vgem_drm.hlinux/aspeed-lpc-ctrl.hlinux/auto_dev-ioctl.hlinux/bcache.hlinux/btrfs_tree.hlinux/can/vxcan.hlinux/cifs/cifs_mount.hlinux/coresight-stm.hlinux/cryptouser.hlinux/fsmap.hlinux/genwqe/genwqe_card.hlinux/hash_info.hlinux/kcm.hlinux/kcov.hlinux/kfd_ioctl.hlinux/lightnvm.hlinux/module.hlinux/nbd-netlink.hlinux/nilfs2_api.hlinux/nilfs2_ondisk.hlinux/nsfs.hlinux/pr.hlinux/qrtr.hlinux/rpmsg.hlinux/sched/types.hlinux/sed-opal.hlinux/smc.hlinux/smc_diag.hlinux/stm.hlinux/switchtec_ioctl.hlinux/vfio_ccw.hlinux/wil6210_uapi.hrdma/bnxt_re-abi.hNote that I have removed from this list the files which are generated in everyexported directories (like .install or .install.cmd).Thanks to Julien Floret <[email protected]> for the tip to get allsubdirs with a pure makefile command.For the record, note that exported files for asm directories are a mix offiles listed by: - include/uapi/asm-generic/Kbuild.asm; - arch/<arch>/include/uapi/asm/Kbuild; - arch/<arch>/include/asm/Kbuild.Signed-off-by: Nicolas Dichtel <[email protected]>Acked-by: Daniel Vetter <[email protected]>Acked-by: Russell King <[email protected]>Acked-by: Mark Salter <[email protected]>Acked-by: Michael Ellerman <[email protected]> (powerpc)Signed-off-by: Masahiro Yamada <[email protected]>
UAPI: (Scripted) Disintegrate include/linux/tc_ematchSigned-off-by: David Howells <[email protected]>Acked-by: Arnd Bergmann <[email protected]>Acked-by: Thomas Gleixner <[email protected]>Acked-
UAPI: (Scripted) Disintegrate include/linux/tc_ematchSigned-off-by: David Howells <[email protected]>Acked-by: Arnd Bergmann <[email protected]>Acked-by: Thomas Gleixner <[email protected]>Acked-by: Michael Kerrisk <[email protected]>Acked-by: Paul E. McKenney <[email protected]>Acked-by: Dave Jones <[email protected]>
UAPI: (Scripted) Set up UAPI Kbuild filesSet up empty UAPI Kbuild files to be populated by the header splitter.Signed-off-by: David Howells <[email protected]>Acked-by: Arnd Bergmann <arnd@arn
UAPI: (Scripted) Set up UAPI Kbuild filesSet up empty UAPI Kbuild files to be populated by the header splitter.Signed-off-by: David Howells <[email protected]>Acked-by: Arnd Bergmann <[email protected]>Acked-by: Thomas Gleixner <[email protected]>Acked-by: Paul E. McKenney <[email protected]>Acked-by: Dave Jones <[email protected]>