patch-2.1.4 linux/net/core/datagram.c
Next file: linux/net/core/dev.c
Previous file: linux/net/bridge/br.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sun Oct 13 21:11:26 1996
- Orig file:
v2.1.3/linux/net/core/datagram.c
- Orig date:
Mon Jun 3 12:42:41 1996
diff -u --recursive --new-file v2.1.3/linux/net/core/datagram.c linux/net/core/datagram.c
@@ -170,7 +170,7 @@
void skb_copy_datagram(struct sk_buff *skb, int offset, char *to, int size)
{
- memcpy_tofs(to,skb->h.raw+offset,size);
+ copy_to_user(to,skb->h.raw+offset,size);
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov