summaryrefslogtreecommitdiff
path: root/rust/helpers/build_bug.c
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2025-08-19 17:53:30 -0700
committerJakub Kicinski <kuba@kernel.org>2025-08-19 17:54:47 -0700
commit9efd5152e32bb446752ead726a4621a50a95c11f (patch)
treee59b1568849dd3915b097159462998e8f3110e2c /rust/helpers/build_bug.c
parent0e041220ea064585d3d667b70e03bad0f31f86bb (diff)
parenta890348adcc993f48d1ae38f1174dc8de4c3c5ac (diff)
Merge branch 'net-convert-to-skb_dstref_steal-and-skb_dstref_restore'
Stanislav Fomichev says: ==================== net: Convert to skb_dstref_steal and skb_dstref_restore To diagnose and prevent issues similar to [0], emit warning (CONFIG_DEBUG_NET) from skb_dst_set and skb_dst_set_noref when overwriting non-null reference-counted entry. Two new helpers are added to handle special cases where the entry needs to be reset and restored: skb_dstref_steal/skb_dstref_restore. The bulk of the patches in the series converts manual _skb_refst manipulations to these new helpers. 0: https://lore.kernel.org/netdev/20250723224625.1340224-1-sdf@fomichev.me/T/#u ==================== Link: https://patch.msgid.link/20250818154032.3173645-1-sdf@fomichev.me Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions