projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[SK_BUFF]: Introduce skb_copy_from_linear_data{_offset}
[linux-2.6-block.git]
/
drivers
/
net
/
tokenring
/
tms380tr.c
diff --git
a/drivers/net/tokenring/tms380tr.c
b/drivers/net/tokenring/tms380tr.c
index de6f72775eccff849de67945a145378ac1265698..e6f0817c3509635477b160823e8143aa17bf9e37 100644
(file)
--- a/
drivers/net/tokenring/tms380tr.c
+++ b/
drivers/net/tokenring/tms380tr.c
@@
-644,7
+644,7
@@
static int tms380tr_hardware_send_packet(struct sk_buff *skb, struct net_device
dmabuf = 0;
i = tp->TplFree->TPLIndex;
buf = tp->LocalTxBuffers[i];
-
memcpy(buf, skb->data
, length);
+
skb_copy_from_linear_data(skb, buf
, length);
newbuf = ((char *)buf - (char *)tp) + tp->dmabuffer;
}
else {