aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/skbuff.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2012-07-20 05:23:20 -0400
committerDavid S. Miller <davem@davemloft.net>2012-07-22 15:39:33 -0400
commitdcc0fb782b3a6e2abfeaaeb45dd88ed09596be0f (patch)
tree072bab4fb0b1badd6f2dfc7879a9badeda4e43e7 /net/core/skbuff.c
parent1080e512d44d4f67b8beb8edf25a1bbcb1066dc7 (diff)
skbuff: export skb_copy_ubufs
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>
Diffstat (limited to 'net/core/skbuff.c')
-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 438bbc5fd898..368f65c15e4f 100644
--- a/net/core/skbuff.c
+++ b/net/core/skbuff.c
@@ -784,7 +784,7 @@ int skb_copy_ubufs(struct sk_buff *skb, gfp_t gfp_mask)
784 skb_shinfo(skb)->tx_flags &= ~SKBTX_DEV_ZEROCOPY; 784 skb_shinfo(skb)->tx_flags &= ~SKBTX_DEV_ZEROCOPY;
785 return 0; 785 return 0;
786} 786}
787 787EXPORT_SYMBOL_GPL(skb_copy_ubufs);
788 788
789/** 789/**
790 * skb_clone - duplicate an sk_buff 790 * skb_clone - duplicate an sk_buff