Scroll to navigation

SKB_DST_SET_NOREF_FO(9) Linux Networking SKB_DST_SET_NOREF_FO(9)

NAME

skb_dst_set_noref_force - sets skb dst, without taking reference

SYNOPSIS

void skb_dst_set_noref_force(struct sk_buff * skb, struct dst_entry * dst);

ARGUMENTS

skb
buffer
dst
dst entry

DESCRIPTION

Sets skb dst, assuming a reference was not taken on dst. No reference is taken and no dst_release will be called. While for cached dsts deferred reclaim is a basic feature, for entries that are not cached it is caller's job to guarantee that last dst_release for provided dst happens when nobody uses it, eg. after a RCU grace period.

COPYRIGHT

May 2018 Kernel Hackers Manual 3.16