projects
/
platform
/
upstream
/
kernel-adaptation-pc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52d4e66
)
skb->tail in ibm_newemac should be skb_tail_pointer()
author
Al Viro
<viro@ftp.linux.org.uk>
Sun, 14 Oct 2007 18:20:30 +0000
(19:20 +0100)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Sun, 14 Oct 2007 19:41:51 +0000
(12:41 -0700)
... since that sucker is not 32bit-only and on 64bit skb->tail is an
offset, not a pointer.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/net/ibm_newemac/core.c
patch
|
blob
|
history
diff --git
a/drivers/net/ibm_newemac/core.c
b/drivers/net/ibm_newemac/core.c
index
8ea5009
..
7a5aabd
100644
(file)
--- a/
drivers/net/ibm_newemac/core.c
+++ b/
drivers/net/ibm_newemac/core.c
@@
-1534,7
+1534,7
@@
static inline int emac_rx_sg_append(struct emac_instance *dev, int slot)
dev_kfree_skb(dev->rx_sg_skb);
dev->rx_sg_skb = NULL;
} else {
- cacheable_memcpy(
dev->rx_sg_skb->tail
,
+ cacheable_memcpy(
skb_tail_pointer(dev->rx_sg_skb)
,
dev->rx_skb[slot]->data, len);
skb_put(dev->rx_sg_skb, len);
emac_recycle_rx_skb(dev, slot, len);