networking: introduce and use skb_put_data()
[linux-block.git] / drivers / isdn / i4l / isdn_tty.c
index ddd8207e4e54cf617e76a2f784bc56aeff76b22e..d30130c8d0f3d356b25aad643fc4c5736e24692e 100644 (file)
@@ -474,7 +474,7 @@ isdn_tty_senddown(modem_info *info)
                return;
        }
        skb_reserve(skb, skb_res);
-       memcpy(skb_put(skb, buflen), info->port.xmit_buf, buflen);
+       skb_put_data(skb, info->port.xmit_buf, buflen);
        info->xmit_count = 0;
 #ifdef CONFIG_ISDN_AUDIO
        if (info->vonline & 2) {