skb_splice_bits() is already available in include/linux/skbuff.h, but without EXPORT_SYMBOL it can't be used by kernel modules.
Signed-off-by: Michel Machado <[email protected]> CC: "David S. Miller" <[email protected]> CC: Eric Dumazet <[email protected]> CC: Pravin B Shelar <[email protected]> --- diff --git a/net/core/skbuff.c b/net/core/skbuff.c index af9185d..0976908 100644 --- a/net/core/skbuff.c +++ b/net/core/skbuff.c @@ -1854,6 +1854,7 @@ done: return ret; } +EXPORT_SYMBOL(skb_splice_bits); /** * skb_store_bits - store bits from kernel buffer to skb -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

