summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Morris <jmorris@intercode.com.au>2002-11-13 16:45:49 -0800
committerDavid S. Miller <davem@nuts.ninka.net>2002-11-13 16:45:49 -0800
commitb423fed1330fa4844996e771a93435ebb0aa85ec (patch)
treee6e11647c06590c3b8df95891de520d0126c4917
parentec111ae66149840c3b6b185f274531254aa1bf66 (diff)
[AF_KEY]: Fix alloc_skb args.
-rw-r--r--net/key/af_key.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/key/af_key.c b/net/key/af_key.c
index bcabdcabdc6c..3af40a20434e 100644
--- a/net/key/af_key.c
+++ b/net/key/af_key.c
@@ -1225,7 +1225,7 @@ static struct sk_buff *compose_sadb_supported(struct sadb_msg *orig, int allocat
esp_len += sizeof(struct sadb_supported);
len = esp_len + ah_len + sizeof(struct sadb_msg);
- skb = alloc_skb(allocation, len + 16);
+ skb = alloc_skb(len + 16, allocation);
if (!skb)
goto out_put_algs;