Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

xsk: clean up SPDX headers

Clean up SPDX-License-Identifier and removing licensing leftovers.

Signed-off-by: Björn Töpel <bjorn.topel@intel.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>

authored by

Björn Töpel and committed by
Daniel Borkmann
dac09149 a7862293

+11 -102
+2 -11
include/net/xdp_sock.h
··· 1 - /* SPDX-License-Identifier: GPL-2.0 2 - * AF_XDP internal functions 1 + /* SPDX-License-Identifier: GPL-2.0 */ 2 + /* AF_XDP internal functions 3 3 * Copyright(c) 2018 Intel Corporation. 4 - * 5 - * This program is free software; you can redistribute it and/or modify it 6 - * under the terms and conditions of the GNU General Public License, 7 - * version 2, as published by the Free Software Foundation. 8 - * 9 - * This program is distributed in the hope it will be useful, but WITHOUT 10 - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11 - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 12 - * more details. 13 4 */ 14 5 15 6 #ifndef _LINUX_XDP_SOCK_H
+2 -11
include/uapi/linux/if_xdp.h
··· 1 - /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note 2 - * 1 + /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2 + /* 3 3 * if_xdp: XDP socket user-space interface 4 4 * Copyright(c) 2018 Intel Corporation. 5 - * 6 - * This program is free software; you can redistribute it and/or modify it 7 - * under the terms and conditions of the GNU General Public License, 8 - * version 2, as published by the Free Software Foundation. 9 - * 10 - * This program is distributed in the hope it will be useful, but WITHOUT 11 - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 12 - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 13 - * more details. 14 5 * 15 6 * Author(s): Björn Töpel <bjorn.topel@intel.com> 16 7 * Magnus Karlsson <magnus.karlsson@intel.com>
-9
kernel/bpf/xskmap.c
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 2 /* XSKMAP used for AF_XDP sockets 3 3 * Copyright(c) 2018 Intel Corporation. 4 - * 5 - * This program is free software; you can redistribute it and/or modify it 6 - * under the terms and conditions of the GNU General Public License, 7 - * version 2, as published by the Free Software Foundation. 8 - * 9 - * This program is distributed in the hope it will be useful, but WITHOUT 10 - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11 - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 12 - * more details. 13 4 */ 14 5 15 6 #include <linux/bpf.h>
-9
net/xdp/xdp_umem.c
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 2 /* XDP user-space packet buffer 3 3 * Copyright(c) 2018 Intel Corporation. 4 - * 5 - * This program is free software; you can redistribute it and/or modify it 6 - * under the terms and conditions of the GNU General Public License, 7 - * version 2, as published by the Free Software Foundation. 8 - * 9 - * This program is distributed in the hope it will be useful, but WITHOUT 10 - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11 - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 12 - * more details. 13 4 */ 14 5 15 6 #include <linux/init.h>
+2 -11
net/xdp/xdp_umem.h
··· 1 - /* SPDX-License-Identifier: GPL-2.0 2 - * XDP user-space packet buffer 1 + /* SPDX-License-Identifier: GPL-2.0 */ 2 + /* XDP user-space packet buffer 3 3 * Copyright(c) 2018 Intel Corporation. 4 - * 5 - * This program is free software; you can redistribute it and/or modify it 6 - * under the terms and conditions of the GNU General Public License, 7 - * version 2, as published by the Free Software Foundation. 8 - * 9 - * This program is distributed in the hope it will be useful, but WITHOUT 10 - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11 - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 12 - * more details. 13 4 */ 14 5 15 6 #ifndef XDP_UMEM_H_
+2 -11
net/xdp/xdp_umem_props.h
··· 1 - /* SPDX-License-Identifier: GPL-2.0 2 - * XDP user-space packet buffer 1 + /* SPDX-License-Identifier: GPL-2.0 */ 2 + /* XDP user-space packet buffer 3 3 * Copyright(c) 2018 Intel Corporation. 4 - * 5 - * This program is free software; you can redistribute it and/or modify it 6 - * under the terms and conditions of the GNU General Public License, 7 - * version 2, as published by the Free Software Foundation. 8 - * 9 - * This program is distributed in the hope it will be useful, but WITHOUT 10 - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11 - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 12 - * more details. 13 4 */ 14 5 15 6 #ifndef XDP_UMEM_PROPS_H_
-9
net/xdp/xsk.c
··· 5 5 * applications. 6 6 * Copyright(c) 2018 Intel Corporation. 7 7 * 8 - * This program is free software; you can redistribute it and/or modify it 9 - * under the terms and conditions of the GNU General Public License, 10 - * version 2, as published by the Free Software Foundation. 11 - * 12 - * This program is distributed in the hope it will be useful, but WITHOUT 13 - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 14 - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 15 - * more details. 16 - * 17 8 * Author(s): Björn Töpel <bjorn.topel@intel.com> 18 9 * Magnus Karlsson <magnus.karlsson@intel.com> 19 10 */
-9
net/xdp/xsk_queue.c
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 2 /* XDP user-space ring structure 3 3 * Copyright(c) 2018 Intel Corporation. 4 - * 5 - * This program is free software; you can redistribute it and/or modify it 6 - * under the terms and conditions of the GNU General Public License, 7 - * version 2, as published by the Free Software Foundation. 8 - * 9 - * This program is distributed in the hope it will be useful, but WITHOUT 10 - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11 - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 12 - * more details. 13 4 */ 14 5 15 6 #include <linux/slab.h>
+2 -11
net/xdp/xsk_queue.h
··· 1 - /* SPDX-License-Identifier: GPL-2.0 2 - * XDP user-space ring structure 1 + /* SPDX-License-Identifier: GPL-2.0 */ 2 + /* XDP user-space ring structure 3 3 * Copyright(c) 2018 Intel Corporation. 4 - * 5 - * This program is free software; you can redistribute it and/or modify it 6 - * under the terms and conditions of the GNU General Public License, 7 - * version 2, as published by the Free Software Foundation. 8 - * 9 - * This program is distributed in the hope it will be useful, but WITHOUT 10 - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11 - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 12 - * more details. 13 4 */ 14 5 15 6 #ifndef _LINUX_XSK_QUEUE_H
+1 -11
samples/bpf/xdpsock_user.c
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 - /* Copyright(c) 2017 - 2018 Intel Corporation. 3 - * 4 - * This program is free software; you can redistribute it and/or modify it 5 - * under the terms and conditions of the GNU General Public License, 6 - * version 2, as published by the Free Software Foundation. 7 - * 8 - * This program is distributed in the hope it will be useful, but WITHOUT 9 - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 10 - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 11 - * more details. 12 - */ 2 + /* Copyright(c) 2017 - 2018 Intel Corporation. */ 13 3 14 4 #include <assert.h> 15 5 #include <errno.h>