Skip to contentSkip to conversation

tcp_bbr: fix SPDX-License-Identifier to be GPL-2.0 OR BSD-3-Clause

PATCH Applied Neal Cardwell 3 participants 3 messages May 31 – Jun 2

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tcp_bbr: fix SPDX-License-Identifier to be GPL-2.0 OR BSD-3-Clause

From: Neal Cardwell <[email protected]>

Since TCP BBR congestion control was introduced in commit 0f8782ea1497 ("tcp_bbr: add BBR congestion control") it has always been offered as "Dual BSD/GPL":

  MODULE_LICENSE("Dual BSD/GPL");

A GPL-2.0-only SPDX header was erroneously added in the recent commit 2ed4b46b4fc7 ("net: Add SPDX ids to some source files").

This commit revises the tcp_bbr.c SPDX-License-Identifier to note that this file is licensed as "GPL-2.0 OR BSD-3-Clause".

Fixes 2ed4b46b4fc7 ("net: Add SPDX ids to some source files")
Cc Yuchung Cheng <[email protected]>
Cc Van Jacobson <[email protected]>
Cc Soheil Hassas Yeganeh <[email protected]>
Cc Tim Bird <[email protected]>
---
 net/ipv4/tcp_bbr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/ipv4/tcp_bbr.c +1 -1
index aec7805b1d376..82378a2bfd1e1 100644
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
 /* Bottleneck Bandwidth and RTT (BBR) congestion control
  *
  * BBR congestion control computes the sending rate based on the delivery
Signature · 1 line
2.54.0.929.g9b7fa37559-goog
Reviewed-by Tim Bird on v1 1/1
#1 lore raw
Quoted 37 lines

-----Original Message-----
From: Neal Cardwell <[email protected]>
From: Neal Cardwell <[email protected]>

Since TCP BBR congestion control was introduced in commit 0f8782ea1497 ("tcp_bbr: add BBR congestion control") it has always been offered as "Dual BSD/GPL":

  MODULE_LICENSE("Dual BSD/GPL");

A GPL-2.0-only SPDX header was erroneously added in the recent commit 2ed4b46b4fc7 ("net: Add SPDX ids to some source files").

This commit revises the tcp_bbr.c SPDX-License-Identifier to note that this file is licensed as "GPL-2.0 OR BSD-3-Clause".

Fixes 2ed4b46b4fc7 ("net: Add SPDX ids to some source files")
Cc Yuchung Cheng <[email protected]>
Cc Van Jacobson <[email protected]>
Cc Soheil Hassas Yeganeh <[email protected]>
Cc Tim Bird <[email protected]>
---
 net/ipv4/tcp_bbr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/ipv4/tcp_bbr.c +1 -2
index aec7805b1d376..82378a2bfd1e1 100644
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
 /* Bottleneck Bandwidth and RTT (BBR) congestion control
  *
  * BBR congestion control computes the sending rate based on the delivery
--
Quoted 1 line

2.54.0.929.g9b7fa37559-goog

The corrected license identifier line looks good to me.

Reviewed-by Tim Bird

My apologies for the mistake.
-- Tim

#2 lore raw
In reply to Neal Cardwell
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Hello:

This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Quoted 9 lines · On Sun, 31 May 2026 11:35:57 -0700 you wrote:

From: Neal Cardwell <[email protected]>

Since TCP BBR congestion control was introduced in commit 0f8782ea1497 ("tcp_bbr: add BBR congestion control") it has always been offered as "Dual BSD/GPL":

  MODULE_LICENSE("Dual BSD/GPL");

[...]

Here is the summary with links:
- [net-next] tcp_bbr: fix SPDX-License-Identifier to be GPL-2.0 OR BSD-3-Clause

    https://git.kernel.org/netdev/net-next/c/4490516d2109

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html