projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
[linux-2.6-microblaze.git]
/
drivers
/
tty
/
synclink_gt.c
diff --git
a/drivers/tty/synclink_gt.c
b/drivers/tty/synclink_gt.c
index
cc047de
..
529c6e3
100644
(file)
--- a/
drivers/tty/synclink_gt.c
+++ b/
drivers/tty/synclink_gt.c
@@
-1755,7
+1755,7
@@
static void hdlcdev_rx(struct slgt_info *info, char *buf, int size)
return;
}
-
memcpy(skb_put(skb, size)
, buf, size);
+
skb_put_data(skb
, buf, size);
skb->protocol = hdlc_type_trans(skb, dev);