summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2012-07-20 09:23:20 +0000
committerBen Hutchings <ben@decadent.org.uk>2014-07-11 13:34:00 +0100
commit3ee479fddc52bbcb3b215be56673e9784890b486 (patch)
tree0bbfca04e494674ccac19464f83b136805561684
parentdc4f7b1edb525ee356abc0f7ef96550dcd0a3d4c (diff)
downloadlinux-stable-3ee479fddc52bbcb3b215be56673e9784890b486.tar.gz
linux-stable-3ee479fddc52bbcb3b215be56673e9784890b486.tar.bz2
linux-stable-3ee479fddc52bbcb3b215be56673e9784890b486.zip
skbuff: export skb_copy_ubufs
commit dcc0fb782b3a6e2abfeaaeb45dd88ed09596be0f upstream. Export skb_copy_ubufs so that modules can orphan frags. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
-rw-r--r--net/core/skbuff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/skbuff.c b/net/core/skbuff.c
index 9204d9b747f2..e6289b474fe2 100644
--- a/net/core/skbuff.c
+++ b/net/core/skbuff.c
@@ -655,7 +655,7 @@ int skb_copy_ubufs(struct sk_buff *skb, gfp_t gfp_mask)
skb_shinfo(skb)->tx_flags &= ~SKBTX_DEV_ZEROCOPY;
return 0;
}
-
+EXPORT_SYMBOL_GPL(skb_copy_ubufs);
/**
* skb_clone - duplicate an sk_buff