linux-loongson/arch/sh/configs
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
..
ap325rxa_defconfig lib/crc: remove unnecessary prompt for CONFIG_CRC_T10DIF 2025-04-04 11:31:42 -07:00
apsh4a3a_defconfig sh: Convert the last use of 'optional' property in Kconfig 2024-05-02 19:48:26 +09:00
apsh4ad0a_defconfig sh: config: Drop CONFIG_MEMORY_{HOTPLUG,HOTREMOVE} 2024-07-14 10:59:39 +02:00
dreamcast_defconfig mm/slab: rename CONFIG_SLAB to CONFIG_SLAB_DEPRECATED 2023-05-26 19:01:47 +02:00
ecovec24_defconfig lib/crc: remove unnecessary prompt for CONFIG_CRC_T10DIF 2025-04-04 11:31:42 -07:00
ecovec24-romimage_defconfig mm/slab: rename CONFIG_SLAB to CONFIG_SLAB_DEPRECATED 2023-05-26 19:01:47 +02:00
edosk7705_defconfig lib/crc: remove unnecessary prompt for CONFIG_CRC32 and drop 'default y' 2025-04-04 11:31:42 -07:00
edosk7760_defconfig treewide: defconfig: address renamed CONFIG_DEBUG_INFO=y 2022-09-11 21:55:05 -07:00
espt_defconfig lib/crc: remove unnecessary prompt for CONFIG_CRC_T10DIF 2025-04-04 11:31:42 -07:00
hp6xx_defconfig lib/crc: remove unnecessary prompt for CONFIG_CRC_T10DIF 2025-04-04 11:31:42 -07:00
j2_defconfig sh: add earlycon support to j2_defconfig 2016-10-18 18:54:56 -04:00
kfr2r09_defconfig mm/slab: rename CONFIG_SLAB to CONFIG_SLAB_DEPRECATED 2023-05-26 19:01:47 +02:00
kfr2r09-romimage_defconfig lib/crc: remove unnecessary prompt for CONFIG_CRC32 and drop 'default y' 2025-04-04 11:31:42 -07:00
landisk_defconfig lib/crc: remove unnecessary prompt for CONFIG_CRC_T10DIF 2025-04-04 11:31:42 -07:00
lboxre2_defconfig lib/crc: remove unnecessary prompt for CONFIG_CRC_T10DIF 2025-04-04 11:31:42 -07:00
magicpanelr2_defconfig lib/crc: remove unnecessary prompt for CONFIG_CRC16 2025-04-04 11:31:42 -07:00
migor_defconfig crypto: Kconfig - make CRYPTO_MANAGER a hidden symbol 2025-05-12 13:34:03 +08:00
polaris_defconfig mm/slab: rename CONFIG_SLAB to CONFIG_SLAB_DEPRECATED 2023-05-26 19:01:47 +02:00
r7780mp_defconfig lib/crc: remove unnecessary prompt for CONFIG_CRC_T10DIF 2025-04-04 11:31:42 -07:00
r7785rp_defconfig lib/crc: remove unnecessary prompt for CONFIG_CRC_T10DIF 2025-04-04 11:31:42 -07:00
rsk7201_defconfig mm, slob: rename CONFIG_SLOB to CONFIG_SLOB_DEPRECATED 2022-12-01 00:09:20 +01:00
rsk7203_defconfig mm, slob: rename CONFIG_SLOB to CONFIG_SLOB_DEPRECATED 2022-12-01 00:09:20 +01:00
rsk7264_defconfig sh: Convert the last use of 'optional' property in Kconfig 2024-05-02 19:48:26 +09:00
rsk7269_defconfig sh: Convert the last use of 'optional' property in Kconfig 2024-05-02 19:48:26 +09:00
rts7751r2d1_defconfig lib/crc: remove unnecessary prompt for CONFIG_CRC_T10DIF 2025-04-04 11:31:42 -07:00
rts7751r2dplus_defconfig lib/crc: remove unnecessary prompt for CONFIG_CRC_T10DIF 2025-04-04 11:31:42 -07:00
sdk7780_defconfig lib/crc: remove unnecessary prompt for CONFIG_CRC_T10DIF 2025-04-04 11:31:42 -07:00
sdk7786_defconfig sh: config: Drop CONFIG_MEMORY_{HOTPLUG,HOTREMOVE} 2024-07-14 10:59:39 +02:00
se7206_defconfig lib/crc: remove unnecessary prompt for CONFIG_CRC_ITU_T 2025-04-04 11:31:42 -07:00
se7343_defconfig mm/slab: rename CONFIG_SLAB to CONFIG_SLAB_DEPRECATED 2023-05-26 19:01:47 +02:00
se7619_defconfig Kbuild updates for v6.10 2024-05-18 12:39:20 -07:00
se7705_defconfig sh: Convert the last use of 'optional' property in Kconfig 2024-05-02 19:48:26 +09:00
se7712_defconfig CRC cleanups for 6.15 2025-04-08 12:09:28 -07:00
se7721_defconfig CRC cleanups for 6.15 2025-04-08 12:09:28 -07:00
se7722_defconfig sh: Convert the last use of 'optional' property in Kconfig 2024-05-02 19:48:26 +09:00
se7724_defconfig lib/crc: remove unnecessary prompt for CONFIG_CRC_T10DIF 2025-04-04 11:31:42 -07:00
se7750_defconfig sh: Convert the last use of 'optional' property in Kconfig 2024-05-02 19:48:26 +09:00
se7751_defconfig mm/slab: rename CONFIG_SLAB to CONFIG_SLAB_DEPRECATED 2023-05-26 19:01:47 +02:00
se7780_defconfig mm/slab: rename CONFIG_SLAB to CONFIG_SLAB_DEPRECATED 2023-05-26 19:01:47 +02:00
secureedge5410_defconfig sh: Convert the last use of 'optional' property in Kconfig 2024-05-02 19:48:26 +09:00
sh03_defconfig lib/crc: remove unnecessary prompt for CONFIG_CRC_CCITT 2025-04-04 11:31:42 -07:00
sh2007_defconfig lib/crc: remove unnecessary prompt for CONFIG_CRC16 2025-04-04 11:31:42 -07:00
sh7710voipgw_defconfig sh: defconfig: Drop obsolete CONFIG_NET_CLS_TCINDEX 2025-04-05 19:46:38 +02:00
sh7724_generic_defconfig lib/crc: remove unnecessary prompt for CONFIG_CRC32 and drop 'default y' 2025-04-04 11:31:42 -07:00
sh7757lcr_defconfig mm/slab: rename CONFIG_SLAB to CONFIG_SLAB_DEPRECATED 2023-05-26 19:01:47 +02:00
sh7763rdp_defconfig lib/crc: remove unnecessary prompt for CONFIG_CRC_T10DIF 2025-04-04 11:31:42 -07:00
sh7770_generic_defconfig lib/crc: remove unnecessary prompt for CONFIG_CRC32 and drop 'default y' 2025-04-04 11:31:42 -07:00
sh7785lcr_32bit_defconfig sh: Convert the last use of 'optional' property in Kconfig 2024-05-02 19:48:26 +09:00
sh7785lcr_defconfig sh: Convert the last use of 'optional' property in Kconfig 2024-05-02 19:48:26 +09:00
shmin_defconfig printk: Remove redundant CONFIG_BASE_FULL 2024-05-06 17:39:09 +02:00
shx3_defconfig sh: config: Drop CONFIG_MEMORY_{HOTPLUG,HOTREMOVE} 2024-07-14 10:59:39 +02:00
titan_defconfig netfilter: conntrack: remove DCCP protocol support 2025-07-03 13:51:39 +02:00
ul2_defconfig sh: configs: Cleanup old Kconfig IO scheduler options 2020-06-01 14:48:48 -04:00
urquell_defconfig sh: Convert the last use of 'optional' property in Kconfig 2024-05-02 19:48:26 +09:00