Files
linux/net/ipv4
Stanislav Fomichev e97e6a1830 net: Switch to skb_dstref_steal/skb_dstref_restore for ip_route_input callers
Going forward skb_dst_set will assert that skb dst_entry
is empty during skb_dst_set. skb_dstref_steal is added to reset
existing entry without doing refcnt. skb_dstref_restore should
be used to restore the previous entry. Convert icmp_route_lookup
and ip_options_rcv_srr to these helpers. Add extra call to
skb_dstref_reset to icmp_route_lookup to clear the ip_route_input
entry.

Signed-off-by: Stanislav Fomichev <sdf@fomichev.me>
Link: https://patch.msgid.link/20250818154032.3173645-5-sdf@fomichev.me
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-08-19 17:54:35 -07:00
..
2025-04-11 18:58:10 -07:00
2025-03-17 13:56:38 +00:00
2024-09-09 17:21:47 -07:00
2025-06-23 17:04:03 -07:00
2025-06-23 17:04:03 -07:00
2025-07-08 13:28:27 +02:00
2025-04-11 18:58:10 -07:00
2024-01-04 10:23:10 -08:00
2025-06-23 17:04:03 -07:00
2025-07-14 18:41:42 -07:00
2025-06-23 17:04:03 -07:00
2025-03-17 13:54:11 +00:00
2025-03-17 13:56:38 +00:00
2025-06-27 15:34:19 -07:00
2022-12-20 03:13:45 +01:00
2025-06-27 15:34:19 -07:00
2025-07-21 17:48:32 -07:00