git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This commit was manufactured by cvs2svn to create tag
[linux-2.6.git]
/
net
/
core
/
datagram.c
diff --git
a/net/core/datagram.c
b/net/core/datagram.c
index
3471632
..
b422d9b
100644
(file)
--- a/
net/core/datagram.c
+++ b/
net/core/datagram.c
@@
-202,7
+202,7
@@
void skb_free_datagram(struct sock *sk, struct sk_buff *skb)
/*
* Copy a datagram to a linear buffer.
*/
/*
* Copy a datagram to a linear buffer.
*/
-int skb_copy_datagram(const struct sk_buff *skb, int offset, char *to, int size)
+int skb_copy_datagram(const struct sk_buff *skb, int offset, char
__user
*to, int size)
{
struct iovec iov = {
.iov_base = to,
{
struct iovec iov = {
.iov_base = to,
@@
-297,7
+297,7
@@
fault:
}
int skb_copy_and_csum_datagram(const struct sk_buff *skb, int offset,
}
int skb_copy_and_csum_datagram(const struct sk_buff *skb, int offset,
- u8 *to, int len, unsigned int *csump)
+ u8
__user
*to, int len, unsigned int *csump)
{
int start = skb_headlen(skb);
int pos = 0;
{
int start = skb_headlen(skb);
int pos = 0;