2
0
mirror of https://github.com/openvswitch/ovs synced 2025-10-11 13:57:52 +00:00
Files
openvswitch/datapath/linux-2.6/compat-2.6/include/net/dst.h

18 lines
257 B
C
Raw Normal View History

#ifndef __NET_DST_WRAPPER_H
#define __NET_DST_WRAPPER_H 1
#include_next <net/dst.h>
#ifndef HAVE_SKB_DST_ACCESSOR_FUNCS
static inline void skb_dst_drop(struct sk_buff *skb)
{
if (skb->dst)
dst_release(skb_dst(skb));
skb->dst = 0UL;
}
#endif
#endif