git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] mxser_new: correct tty driver name
[safe/jmp/linux-2.6]
/
net
/
core
/
user_dma.c
diff --git
a/net/core/user_dma.c
b/net/core/user_dma.c
index
9eee91b
..
248a6b6
100644
(file)
--- a/
net/core/user_dma.c
+++ b/
net/core/user_dma.c
@@
-29,6
+29,11
@@
#include <linux/socket.h>
#include <linux/rtnetlink.h> /* for BUG_TRAP */
#include <net/tcp.h>
#include <linux/socket.h>
#include <linux/rtnetlink.h> /* for BUG_TRAP */
#include <net/tcp.h>
+#include <net/netdma.h>
+
+#define NET_DMA_DEFAULT_COPYBREAK 4096
+
+int sysctl_tcp_dma_copybreak = NET_DMA_DEFAULT_COPYBREAK;
/**
* dma_skb_copy_datagram_iovec - Copy a datagram to an iovec.
/**
* dma_skb_copy_datagram_iovec - Copy a datagram to an iovec.