Commit 3ee479fd authored by Michael S. Tsirkin's avatar Michael S. Tsirkin Committed by Ben Hutchings

skbuff: export skb_copy_ubufs

commit dcc0fb78 upstream.

Export skb_copy_ubufs so that modules can orphan frags.
Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
parent dc4f7b1e
...@@ -655,7 +655,7 @@ int skb_copy_ubufs(struct sk_buff *skb, gfp_t gfp_mask) ...@@ -655,7 +655,7 @@ int skb_copy_ubufs(struct sk_buff *skb, gfp_t gfp_mask)
skb_shinfo(skb)->tx_flags &= ~SKBTX_DEV_ZEROCOPY; skb_shinfo(skb)->tx_flags &= ~SKBTX_DEV_ZEROCOPY;
return 0; return 0;
} }
EXPORT_SYMBOL_GPL(skb_copy_ubufs);
/** /**
* skb_clone - duplicate an sk_buff * skb_clone - duplicate an sk_buff
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment