summaryrefslogtreecommitdiff
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorStanislav Fomichev <sdf@fomichev.me>2025-08-18 08:40:27 -0700
committerJakub Kicinski <kuba@kernel.org>2025-08-19 17:54:17 -0700
commitc829aab21ed55d9e38346604259aa3ff88d17274 (patch)
tree0207089b136a464bad278844840c502180be5428 /rust/helpers/helpers.c
parentc3f0c02997c7f8489fec259e28e0e04e9811edac (diff)
xfrm: Switch to skb_dstref_steal to clear dst_entry
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. Switch to skb_dstref_steal in __xfrm_route_forward and add a comment on why it's safe to skip skb_dstref_restore. Signed-off-by: Stanislav Fomichev <sdf@fomichev.me> Link: https://patch.msgid.link/20250818154032.3173645-3-sdf@fomichev.me Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions