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>
This commit is contained in:
committed by
David S. Miller
parent
1080e512d4
commit
dcc0fb782b
@@ -784,7 +784,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
|
||||||
|
Reference in New Issue
Block a user