summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorMathias Krause <mathias.krause@secunet.com>2013-11-07 14:18:24 +0100
committerDavid S. Miller <davem@davemloft.net>2013-11-08 01:28:58 +0100
commit0c7ddf36c29c3ce12f2d2931a357ccaa0861035a (patch)
tree98d09efb875438c09ba8eea351e11c15eff7cc59 /include/net
parentnet: calxedaxgmac: Fix panic caused by MTU change of active interface (diff)
downloadlinux-0c7ddf36c29c3ce12f2d2931a357ccaa0861035a.tar.xz
linux-0c7ddf36c29c3ce12f2d2931a357ccaa0861035a.zip
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>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/esp.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/net/esp.h b/include/net/esp.h
index c92213c38312..a43be85aedc4 100644
--- a/include/net/esp.h
+++ b/include/net/esp.h
@@ -3,8 +3,6 @@
#include <linux/skbuff.h>
-void *pskb_put(struct sk_buff *skb, struct sk_buff *tail, int len);
-
struct ip_esp_hdr;
static inline struct ip_esp_hdr *ip_esp_hdr(const struct sk_buff *skb)