net: move pskb_put() to core code
authorMathias Krause <mathias.krause@secunet.com>
Thu, 7 Nov 2013 13:18:24 +0000 (14:18 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Nov 2013 00:28:58 +0000 (19:28 -0500)
commit0c7ddf36c29c3ce12f2d2931a357ccaa0861035a
tree98d09efb875438c09ba8eea351e11c15eff7cc59
parentb5ad795e52dae6e9f88b193a5e779b70005d005c
net: move pskb_put() to core code

This function has usage beside IPsec so move it to the core skbuff code.
While doing so, give it some documentation and change its return type to
'unsigned char *' to be in line with skb_put().

Signed-off-by: Mathias Krause <mathias.krause@secunet.com>
Cc: Steffen Klassert <steffen.klassert@secunet.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/skbuff.h
include/net/esp.h
net/core/skbuff.c
net/xfrm/xfrm_algo.c