Skip to content

Commit dac0914

Browse files
Björn Töpelborkmann
authored andcommitted
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>
1 parent a786229 commit dac0914

10 files changed

Lines changed: 11 additions & 102 deletions

File tree

‎include/net/xdp_sock.h‎

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
1-
/* SPDX-License-Identifier: GPL-2.0
2-
* AF_XDP internal functions
1+
/* SPDX-License-Identifier: GPL-2.0 */
2+
/* AF_XDP internal functions
33
* 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.
134
*/
145

156
#ifndef _LINUX_XDP_SOCK_H

‎include/uapi/linux/if_xdp.h‎

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,8 @@
1-
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
2-
*
1+
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2+
/*
33
* if_xdp: XDP socket user-space interface
44
* Copyright(c) 2018 Intel Corporation.
55
*
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-
*
156
* Author(s): Björn Töpel <bjorn.topel@intel.com>
167
* Magnus Karlsson <magnus.karlsson@intel.com>
178
*/

‎kernel/bpf/xskmap.c‎

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
11
// SPDX-License-Identifier: GPL-2.0
22
/* XSKMAP used for AF_XDP sockets
33
* 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.
134
*/
145

156
#include <linux/bpf.h>

‎net/xdp/xdp_umem.c‎

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
11
// SPDX-License-Identifier: GPL-2.0
22
/* XDP user-space packet buffer
33
* 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.
134
*/
145

156
#include <linux/init.h>

‎net/xdp/xdp_umem.h‎

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
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
33
* 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.
134
*/
145

156
#ifndef XDP_UMEM_H_

‎net/xdp/xdp_umem_props.h‎

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
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
33
* 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.
134
*/
145

156
#ifndef XDP_UMEM_PROPS_H_

‎net/xdp/xsk.c‎

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,6 @@
55
* applications.
66
* Copyright(c) 2018 Intel Corporation.
77
*
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-
*
178
* Author(s): Björn Töpel <bjorn.topel@intel.com>
189
* Magnus Karlsson <magnus.karlsson@intel.com>
1910
*/

‎net/xdp/xsk_queue.c‎

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
11
// SPDX-License-Identifier: GPL-2.0
22
/* XDP user-space ring structure
33
* 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.
134
*/
145

156
#include <linux/slab.h>

‎net/xdp/xsk_queue.h‎

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
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
33
* 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.
134
*/
145

156
#ifndef _LINUX_XSK_QUEUE_H

‎samples/bpf/xdpsock_user.c‎

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,5 @@
11
// 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. */
133

144
#include <assert.h>
155
#include <errno.h>

0 commit comments

Comments
 (0)