summaryrefslogtreecommitdiffstats
path: root/net/ax25/ax25_in.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@ghostprotocols.net>2007-03-31 11:55:45 -0300
committerDavid S. Miller <davem@sunset.davemloft.net>2007-04-25 22:28:30 -0700
commit1a4e2d093fd5f3eaf8cffc04a1b803f8b0ddef6d (patch)
tree2743aa6311b434840e82b6107013c34605534816 /net/ax25/ax25_in.c
parent27d7ff46a3498d3debc6ba68fb8014c702b81170 (diff)
downloadop-kernel-dev-1a4e2d093fd5f3eaf8cffc04a1b803f8b0ddef6d.zip
op-kernel-dev-1a4e2d093fd5f3eaf8cffc04a1b803f8b0ddef6d.tar.gz
[SK_BUFF]: Some more conversions to skb_copy_from_linear_data
Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Diffstat (limited to 'net/ax25/ax25_in.c')
-rw-r--r--net/ax25/ax25_in.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/ax25/ax25_in.c b/net/ax25/ax25_in.c
index 31c5938..0ddaff0 100644
--- a/net/ax25/ax25_in.c
+++ b/net/ax25/ax25_in.c
@@ -66,7 +66,9 @@ static int ax25_rx_fragment(ax25_cb *ax25, struct sk_buff *skb)
/* Copy data from the fragments */
while ((skbo = skb_dequeue(&ax25->frag_queue)) != NULL) {
- memcpy(skb_put(skbn, skbo->len), skbo->data, skbo->len);
+ skb_copy_from_linear_data(skbo,
+ skb_put(skbn, skbo->len),
+ skbo->len);
kfree_skb(skbo);
}
OpenPOWER on IntegriCloud