1SKB_DST_SET_NOREF(9) Linux Networking SKB_DST_SET_NOREF(9)
2
3
4
6 skb_dst_set_noref - sets skb dst, hopefully, without taking reference
7
9 void skb_dst_set_noref(struct sk_buff * skb, struct dst_entry * dst);
10
12 skb
13 buffer
14
15 dst
16 dst entry
17
19 Sets skb dst, assuming a reference was not taken on dst. If dst entry
20 is cached, we do not take reference and dst_release will be avoided by
21 refdst_drop. If dst entry is not cached, we take reference, so that
22 last dst_release can destroy the dst immediately.
23
25Kernel Hackers Manual 3.10 June 2019 SKB_DST_SET_NOREF(9)