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/arm
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 ARM: dts: Fix up wrv54g device tree 2025-06-27 15:14:53 -07:00
common ARM: soc updates for 6.16 2025-05-31 08:03:09 -07:00
configs netfilter: conntrack: remove DCCP protocol support 2025-07-03 13:51:39 +02:00
crypto Revert "crypto: run initcalls for generic implementations earlier" 2025-05-05 18:20:44 +08:00
include mm: pgtable: fix pte_swp_exclusive 2025-06-11 14:52:08 -07:00
kernel arch: use always-$(KBUILD_BUILTIN) for vmlinux.lds 2025-06-07 14:38:07 +09:00
lib This update includes the following changes: 2025-05-26 13:47:28 -07:00
mach-actions
mach-alpine
mach-artpec
mach-aspeed ARM: aspeed: Don't select SRAM 2025-05-21 23:07:08 +02:00
mach-at91 ARM: at91: pm: Enable ULP0/ULP1 for SAMA7D65 2025-03-02 17:38:54 +02:00
mach-axxia
mach-bcm
mach-berlin
mach-clps711x
mach-davinci ARM: davinci: remove support for da830 2025-04-16 18:02:20 +02:00
mach-digicolor
mach-dove
mach-ep93xx
mach-exynos ARM: Switch to irq_domain_create_*() 2025-05-16 21:06:08 +02:00
mach-footbridge treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
mach-gemini
mach-highbank
mach-hisi
mach-hpe
mach-imx ARM: Switch to irq_domain_create_*() 2025-05-16 21:06:08 +02:00
mach-ixp4xx
mach-keystone
mach-lpc18xx
mach-lpc32xx
mach-mediatek
mach-meson
mach-milbeaut
mach-mmp
mach-mstar
mach-mv78xx0
mach-mvebu
mach-mxs
mach-nomadik
mach-npcm
mach-omap1 ARM: Switch to irq_domain_create_*() 2025-05-16 21:06:08 +02:00
mach-omap2 ARM: soc updates for 6.16 2025-05-31 08:03:09 -07:00
mach-orion5x
mach-pxa ARM: Switch to irq_domain_create_*() 2025-05-16 21:06:08 +02:00
mach-qcom
mach-realtek
mach-rockchip
mach-rpc ARM: riscpc: make ecard_bus_type constant 2025-01-10 15:42:06 +01:00
mach-s3c ARM: s3c: stop including gpio.h 2025-05-21 19:14:46 +02:00
mach-s5pv210
mach-sa1100 Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
mach-shmobile soc: arm platform changes for 6.15 2025-03-27 09:37:18 -07:00
mach-socfpga
mach-spear
mach-sti
mach-stm32 ARM: stm32: add a new SoC - STM32H747 2025-05-14 10:36:14 +02:00
mach-sunxi
mach-tegra
mach-ux500
mach-versatile
mach-vt8500
mach-zynq
mm ARM fixes for 6.16-rc1 2025-06-05 11:33:09 -07:00
net
nwfpe
plat-orion ARM: soc updates for 6.16 2025-05-31 08:03:09 -07:00
probes kernel/events/uprobes: pass VMA to set_swbp(), set_orig_insn() and uprobe_write_opcode() 2025-05-11 17:48:18 -07:00
tools fs: add open_tree_attr() 2025-02-12 12:12:28 +01:00
vdso arm: vdso: Switch to generic storage implementation 2025-02-21 09:54:02 +01:00
vfp ARM: 9446/1: Disallow kernel mode NEON when IRQs are disabled 2025-05-29 11:22:25 +01:00
xen
Kbuild
Kconfig gcc-plugins: Remove ARM_SSP_PER_TASK plugin 2025-04-28 10:32:43 -07:00
Kconfig-nommu
Kconfig.debug
Kconfig.platforms
Makefile ARM: 9441/1: rust: Enable Rust support for ARMv7 2025-03-26 13:31:16 +00:00