]> git.proxmox.com Git - mirror_ovs.git/blame - datapath/linux-2.6/compat-2.6/include/net/dst.h
ovsdb: Synchronize comments and code in ovsdb_file_commit().
[mirror_ovs.git] / datapath / linux-2.6 / compat-2.6 / include / net / dst.h
CommitLineData
db12f2fc
JG
1#ifndef __NET_DST_WRAPPER_H
2#define __NET_DST_WRAPPER_H 1
3
4#include_next <net/dst.h>
5
9cbd4a4e 6#ifndef HAVE_SKB_DST_ACCESSOR_FUNCS
db12f2fc
JG
7
8static inline void skb_dst_drop(struct sk_buff *skb)
9{
10 if (skb->dst)
11 dst_release(skb_dst(skb));
bbdc31bc 12 skb->dst = NULL;
db12f2fc
JG
13}
14
9cbd4a4e 15#endif
db12f2fc
JG
16
17#endif