table of contents
other versions
- stretch 4.9.168-1
SKB_DST_SET_NOREF(9) | Linux Networking | SKB_DST_SET_NOREF(9) |
NAME¶
skb_dst_set_noref - sets skb dst, hopefully, without taking referenceSYNOPSIS¶
void skb_dst_set_noref(struct sk_buff * skb, struct dst_entry * dst);
ARGUMENTS¶
skbbuffer
dst
dst entry
DESCRIPTION¶
Sets skb dst, assuming a reference was not taken on dst. If dst entry is cached, we do not take reference and dst_release will be avoided by refdst_drop. If dst entry is not cached, we take reference, so that last dst_release can destroy the dst immediately.COPYRIGHT¶
April 2019 | Kernel Hackers Manual 4.9. |