summaryrefslogtreecommitdiff
path: root/backport/backport-include/net/xfrm.h
blob: 7e55984b2f97eecdcdef59daedbca7b0d6c9dcf6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef __BACKPORT_NET_XFRM_H
#define __BACKPORT_NET_XFRM_H
#include_next <net/xfrm.h>
#include <linux/version.h>

#if LINUX_VERSION_IS_LESS(5,4,0)
#define skb_ext_reset LINUX_BACKPORT(skb_ext_reset)
static inline void skb_ext_reset(struct sk_buff *skb)
{
	secpath_reset(skb);
}
#endif

#endif /* __BACKPORT_NET_XFRM_H */