diff options
| author | Stanislav Fomichev <sdf@fomichev.me> | 2025-08-18 08:40:27 -0700 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-08-19 17:54:17 -0700 |
| commit | c829aab21ed55d9e38346604259aa3ff88d17274 (patch) | |
| tree | 0207089b136a464bad278844840c502180be5428 /rust/helpers/helpers.c | |
| parent | c3f0c02997c7f8489fec259e28e0e04e9811edac (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
