2013-05-23 17:23:46

by Michel Machado

[permalink] [raw]
Subject: [PATCH 1/1] net-next: export dma_skb_copy_datagram_iovec()

dma_skb_copy_datagram_iovec() is already available in include/net/netdma.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]>
---
diff --git a/net/core/user_dma.c b/net/core/user_dma.c
index 1b5fefd..653f516 100644
--- a/net/core/user_dma.c
+++ b/net/core/user_dma.c
@@ -129,3 +129,4 @@ end:
fault:
return -EFAULT;
}
+EXPORT_SYMBOL(dma_skb_copy_datagram_iovec);