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.