caif: use pskb_put() instead of reimplementing its functionality
authorMathias Krause <mathias.krause@secunet.com>
Thu, 7 Nov 2013 13:18:25 +0000 (14:18 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Nov 2013 00:28:59 +0000 (19:28 -0500)
commit253c6daa343104c1278facd11cb5ecfc7554fb38
tree97e4ff68f7c9e196f1cfbd16070f19f8f46fe4e0
parent0c7ddf36c29c3ce12f2d2931a357ccaa0861035a
caif: use pskb_put() instead of reimplementing its functionality

Also remove the warning for fragmented packets -- skb_cow_data() will
linearize the buffer, removing all fragments.

Signed-off-by: Mathias Krause <mathias.krause@secunet.com>
Cc: Dmitry Tarnyagin <dmitry.tarnyagin@lockless.no>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/caif/cfpkt_skbuff.c