2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/arch/powerpc
Pablo Neira Ayuso fd72f265bb netfilter: conntrack: remove DCCP protocol support
The DCCP socket family has now been removed from this tree, see:

  8bb3212be4 ("Merge branch 'net-retire-dccp-socket'")

Remove connection tracking and NAT support for this protocol, this
should not pose a problem because no DCCP traffic is expected to be seen
on the wire.

As for the code for matching on dccp header for iptables and nftables,
mark it as deprecated and keep it in place. Ruleset restoration is an
atomic operation. Without dccp matching support, an astray match on dccp
could break this operation leaving your computer with no policy in
place, so let's follow a more conservative approach for matches.

Add CONFIG_NFT_EXTHDR_DCCP which is set to 'n' by default to deprecate
dccp extension support. Similarly, label CONFIG_NETFILTER_XT_MATCH_DCCP
as deprecated too and also set it to 'n' by default.

Code to match on DCCP protocol from ebtables also remains in place, this
is just a few checks on IPPROTO_DCCP from _check() path which is
exercised when ruleset is loaded. There is another use of IPPROTO_DCCP
from the _check() path in the iptables multiport match. Another check
for IPPROTO_DCCP from the packet in the reject target is also removed.

So let's schedule removal of the dccp matching for a second stage, this
should not interfer with the dccp retirement since this is only matching
on the dccp header.

Cc: "David S. Miller" <davem@davemloft.net>
Cc: Eric Dumazet <edumazet@google.com>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: Paolo Abeni <pabeni@redhat.com>
Cc: Kuniyuki Iwashima <kuniyu@amazon.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
2025-07-03 13:51:39 +02:00
..
boot powerpc: dts: mpc8315erdb: Add GPIO controller node 2025-06-13 12:32:21 +05:30
configs netfilter: conntrack: remove DCCP protocol support 2025-07-03 13:51:39 +02:00
crypto crypto: powerpc/sha256 - implement library instead of shash 2025-05-05 18:20:43 +08:00
include powerpc fixes for 6.16 #3 2025-06-16 08:49:58 -07:00
kernel powerpc/eeh: Fix missing PE bridge reconfiguration during VFIO EEH recovery 2025-06-13 12:30:48 +05:30
kexec powerpc/crash: Fix non-smp kexec preparation 2025-04-29 11:40:46 +05:30
kvm treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
lib powerpc updates for 6.16 2025-05-26 14:38:57 -07:00
math-emu
mm - The 11 patch series "Add folio_mk_pte()" from Matthew Wilcox 2025-05-31 15:44:16 -07:00
net powerpc/bpf: fix JIT code size calculation of bpf trampoline 2025-04-29 11:04:27 +05:30
perf Performance events updates for v6.16: 2025-05-26 15:40:23 -07:00
platforms powerpc/vas: Return -EINVAL if the offset is non-zero in mmap() 2025-06-10 07:56:41 +05:30
purgatory Makefile: remove redundant tool coverage variables 2024-05-14 23:35:48 +09:00
sysdev A set of cleanups for the generic interrupt subsystem: 2025-05-27 08:07:32 -07:00
tools powerpc/ftrace: Fix ftrace bug with KASAN=y 2024-11-10 22:33:51 +11:00
xmon powerpc: Don't use --- in kernel logs 2025-04-29 11:41:38 +05:30
Kbuild powerpc64/ftrace: Move ftrace sequence out of line 2024-10-31 11:00:54 +11:00
Kconfig Revert "crypto: powerpc/poly1305 - Add SIMD fallback" 2025-05-21 06:53:36 +08:00
Kconfig.debug powerpc: Remove UDBG_RTAS_CONSOLE 2025-02-26 21:15:09 +05:30
Makefile Kbuild updates for v6.13 2024-11-30 13:41:50 -08:00
Makefile.postlink powerpc/ftrace: Add a postlink script to validate function tracer 2024-10-31 11:00:54 +11:00