Skip to content

Commit 4bfd9df

Browse files
committed
helpers: Update license to dual-licensed GPL and BSD
We want to encourage reuse of the helper functions, so add a BSD licensing option as well. Also, update the GPL specification to 2.0-or-later, since the GPL-2.0 SPDX tag is deprecated, and with the BSD option, licensing as 2.0-only doesn't really make sense, since the BSD license permits inclusion in GPL-3 works anyway. All copyright holders of the affected files have signed off on this change, as per the discussion in #80. Fixes #80. Signed-off-by: Toke Høiland-Jørgensen <[email protected]>
1 parent 1ee5495 commit 4bfd9df

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

common/parsing_helpers.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* SPDX-License-Identifier: GPL-2.0 */
1+
/* SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-clause) */
22
/*
33
* This file contains parsing functions that are used in the packetXX XDP
44
* programs. The functions are marked as __always_inline, and fully defined in

common/rewrite_helpers.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* SPDX-License-Identifier: GPL-2.0 */
1+
/* SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-clause) */
22
/*
33
* This file contains functions that are used in the packetXX XDP programs to
44
* manipulate on packets data. The functions are marked as __always_inline, and

0 commit comments

Comments
 (0)