linux/Documentation/networking
Eric Dumazet 0201eedb69 ipv6: icmp: remove obsolete code in icmpv6_xrlim_allow()
Following part was needed before the blamed commit, because
inet_getpeer_v6() second argument was the prefix.

	/* Give more bandwidth to wider prefixes. */
	if (rt->rt6i_dst.plen < 128)
		tmo >>= ((128 - rt->rt6i_dst.plen)>>5);

Now inet_getpeer_v6() retrieves hosts, we need to remove
@tmo adjustement or wider prefixes likes /24 allow 8x
more ICMP to be sent for a given ratelimit.

As we had this issue for a while, this patch changes net.ipv6.icmp.ratelimit
default value from 1000ms to 100ms to avoid potential regressions.

Also add a READ_ONCE() when reading net->ipv6.sysctl.icmpv6_time.

Fixes: fd0273d793 ("ipv6: Remove external dependency on rt6i_dst and rt6i_src")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@google.com>
Cc: Martin KaFai Lau <martin.lau@kernel.org>
Link: https://patch.msgid.link/20260216142832.3834174-4-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2026-02-18 16:46:36 -08:00
..
caif
device_drivers Networking changes for 7.0 2026-02-11 19:31:52 -08:00
devlink net/mlx5: implement swp_l4_csum_mode via devlink params 2025-11-20 19:01:22 -08:00
diagnostic Documentation: use a source-read extension for the index link boilerplate 2026-01-23 11:59:34 -07:00
dsa Documentation: net: dsa: mention simple HSR offload helpers 2025-12-01 16:51:55 -08:00
mac80211_hwsim
net_cachelines tcp: try to avoid safer when ACKs are thinned 2026-02-03 15:13:24 +01:00
pse-pd
xfrm net: Move XFRM documentation into its own subdirectory 2025-11-12 08:30:03 +01:00
6lowpan.rst
6pack.rst net: 6pack: Demote "How to turn on 6pack support" section heading 2025-10-21 10:57:45 +02:00
af_xdp.rst net: xsk: introduce XDP_MAX_TX_SKB_BUDGET setsockopt 2025-07-10 14:48:29 +02:00
alias.rst
arcnet-hardware.rst Documentation: ARCnet: Update obsolete contact info 2025-10-31 18:08:08 -07:00
arcnet.rst Documentation: ARCnet: Update obsolete contact info 2025-10-31 18:08:08 -07:00
atm.rst
ax25.rst Documentation: networking: ax25: update the mailing list info. 2025-10-21 17:41:57 -07:00
bareudp.rst
batman-adv.rst
bonding.rst bonding: support aggregator selection based on port priority 2025-09-09 10:56:02 +02:00
bridge.rst
can.rst linux-can-fixes-for-6.18-20251014 2025-10-15 17:56:20 -07:00
can_ucan_protocol.rst
cdc_mbim.rst
checksum-offloads.rst
dctcp.rst
devmem.rst net: add devmem TCP TX documentation 2025-05-13 11:12:48 +02:00
dns_resolver.rst net: dns_resolver: Fix request-key cross-reference 2025-09-26 15:21:38 -07:00
driver.rst
eql.rst
ethtool-netlink.rst ethtool: netlink: add ETHTOOL_MSG_MSE_GET and wire up PHY MSE access 2025-11-03 18:32:27 -08:00
failover.rst
fib_trie.rst
filter.rst
gen_stats.rst
generic-hdlc.rst
generic_netlink.rst
gtp.rst
ieee802154.rst
ila.rst
index.rst Networking changes for 7.0 2026-02-11 19:31:52 -08:00
ioam6-sysctl.rst
iou-zcrx.rst io_uring/zcrx: document area chunking parameter 2026-01-14 02:13:37 +00:00
ip-sysctl.rst ipv6: icmp: remove obsolete code in icmpv6_xrlim_allow() 2026-02-18 16:46:36 -08:00
ip_dynaddr.rst
ipsec.rst
ipv6.rst
ipvlan.rst
ipvs-sysctl.rst
iso15765-2.rst
j1939.rst
kapi.rst
kcm.rst
l2tp.rst
lapb-module.rst
mac80211-auth-assoc-deauth.txt
mac80211-injection.rst
mctp.rst
mpls-sysctl.rst
mptcp-sysctl.rst mptcp: make ADD_ADDR retransmission timeout adaptive 2025-09-09 18:57:45 -07:00
mptcp.rst Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-09-11 17:40:13 -07:00
msg_zerocopy.rst
multi-pf-netdev.rst
multiqueue.rst
napi.rst net: Extend NAPI threaded polling to allow kthread based busy polling 2025-11-03 18:11:40 -08:00
net_dim.rst
net_failover.rst Documentation: net: net_failover: Separate cloud-ifupdown-helper and reattach-vf.sh code blocks marker 2025-10-17 16:28:29 -07:00
netconsole.rst Documentation: netconsole: Separate literal code blocks for full and short netcat command name versions 2025-10-31 16:54:22 -07:00
netdev-features.rst net: enable driver support for netmem TX 2025-05-13 11:12:49 +02:00
netdevices.rst Documentation: net: Fix typos in netdevices.rst 2026-01-25 13:03:43 -08:00
netfilter-sysctl.rst
netif-msg.rst
netmem.rst net: enable driver support for netmem TX 2025-05-13 11:12:49 +02:00
nexthop-group-resilient.rst
nf_conntrack-sysctl.rst netfilter: conntrack: remove DCCP protocol support 2025-07-03 13:51:39 +02:00
nf_flowtable.rst
nfc.rst net: nfc: Format userspace interface subsection headings 2025-10-21 10:57:45 +02:00
oa-tc6-framework.rst
openvswitch.rst
operstates.rst
packet_mmap.rst
page_pool.rst
phonet.rst
phy-link-topology.rst
phy-port.rst Documentation: networking: Document the phy_port infrastructure 2026-01-13 18:52:36 -08:00
phy.rst net: phy: remove unused fixup unregistering functions 2026-01-15 19:48:26 -08:00
pktgen.rst
plip.rst
ppp_generic.rst
proc_net_tcp.rst
psp.rst psp: add documentation 2025-09-18 12:32:06 +02:00
radiotap-headers.rst
rds.rst Documentation: Fix networking typos 2025-08-18 10:31:20 -06:00
regulatory.rst
representors.rst
rxrpc.rst Documentation: rxrpc: Demote three sections 2025-09-24 18:12:10 -07:00
scaling.rst docs: networking: mention that RSS table should be 4x the queue count 2026-02-02 17:06:00 -08:00
sctp.rst
secid.rst
seg6-sysctl.rst doc: fix seg6_flowlabel path 2025-10-12 22:51:37 +01:00
segmentation-offloads.rst net: gso: restore ids of outer ip headers correctly 2025-09-25 12:42:49 +02:00
sfp-phylink.rst
skbuff.rst
smc-sysctl.rst net/smc: handle -ENOMEM from smc_wr_alloc_link_mem gracefully 2025-10-30 13:31:43 +01:00
snmp_counter.rst
sriov.rst
statistics.rst net: docs: add missing features that can have stats 2025-10-20 18:31:25 -07:00
strparser.rst
switchdev.rst
sysfs-tagging.rst
tc-actions-env-rules.rst
tc-queue-filters.rst
tcp-thin.rst
tcp_ao.rst
team.rst
timestamping.rst net: remove legacy way to get/set HW timestamp config 2026-01-20 18:21:27 -08:00
tipc.rst
tls-handshake.rst
tls-offload-layers.svg
tls-offload-reorder-bad.svg
tls-offload-reorder-good.svg
tls-offload.rst docs: tls: Enhance TLS resync async process documentation 2026-01-17 15:26:13 -08:00
tls.rst net/tls: support setting the maximum payload size 2025-10-27 16:13:42 -07:00
tproxy.rst docs: tproxy: fix formatting for nft code block 2025-04-29 00:00:26 +02:00
tuntap.rst
udplite.rst
vrf.rst
vxlan.rst
x25-iface.rst
x25.rst
xdp-rx-metadata.rst doc: xdp: Clarify driver implementation for XDP Rx metadata 2025-07-16 16:36:11 -07:00
xsk-tx-metadata.rst