__skb_ext_put(skb->extensions);
}
-static inline void skb_ext_get(struct sk_buff *skb)
-{
- if (skb->active_extensions) {
- struct skb_ext *ext = skb->extensions;
-
- if (ext)
- refcount_inc(&ext->refcnt);
- }
-}
-
static inline void __skb_ext_copy(struct sk_buff *dst,
const struct sk_buff *src)
{
}
#else
static inline void skb_ext_put(struct sk_buff *skb) {}
-static inline void skb_ext_get(struct sk_buff *skb) {}
static inline void skb_ext_del(struct sk_buff *skb, int unused) {}
static inline void __skb_ext_copy(struct sk_buff *d, const struct sk_buff *s) {}
static inline void skb_ext_copy(struct sk_buff *dst, const struct sk_buff *s) {}