summaryrefslogtreecommitdiffstats
path: root/net/core
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2012-07-20 11:23:20 +0200
committerDavid S. Miller <davem@davemloft.net>2012-07-22 21:39:33 +0200
commitdcc0fb782b3a6e2abfeaaeb45dd88ed09596be0f (patch)
tree072bab4fb0b1badd6f2dfc7879a9badeda4e43e7 /net/core
parentnet: orphan frags on receive (diff)
downloadlinux-dcc0fb782b3a6e2abfeaaeb45dd88ed09596be0f.tar.xz
linux-dcc0fb782b3a6e2abfeaaeb45dd88ed09596be0f.zip
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')
-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)
skb_shinfo(skb)->tx_flags &= ~SKBTX_DEV_ZEROCOPY;
return 0;
}
-
+EXPORT_SYMBOL_GPL(skb_copy_ubufs);
/**
* skb_clone - duplicate an sk_buff