diff options
Diffstat (limited to 'arch/ia64/hp/sim')
-rw-r--r-- | arch/ia64/hp/sim/simeth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/hp/sim/simeth.c b/arch/ia64/hp/sim/simeth.c index edef008c2b42..f26077a773d5 100644 --- a/arch/ia64/hp/sim/simeth.c +++ b/arch/ia64/hp/sim/simeth.c | |||
@@ -473,7 +473,7 @@ simeth_rx(struct net_device *dev) | |||
473 | * XXX Fix me | 473 | * XXX Fix me |
474 | * Should really do a csum+copy here | 474 | * Should really do a csum+copy here |
475 | */ | 475 | */ |
476 | memcpy(skb->data, frame, len); | 476 | skb_copy_to_linear_data(skb, frame, len); |
477 | #endif | 477 | #endif |
478 | skb->protocol = eth_type_trans(skb, dev); | 478 | skb->protocol = eth_type_trans(skb, dev); |
479 | 479 | ||