aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp/options.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/dccp/options.c')
-rw-r--r--net/dccp/options.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/dccp/options.c b/net/dccp/options.c
index fc363aaeedaf..d87d6be7ab10 100644
--- a/net/dccp/options.c
+++ b/net/dccp/options.c
@@ -499,7 +499,8 @@ void dccp_insert_options(struct sock *sk, struct sk_buff *skb)
499 } 499 }
500} 500}
501 501
502struct dccp_ackpkts *dccp_ackpkts_alloc(unsigned int len, int priority) 502struct dccp_ackpkts *dccp_ackpkts_alloc(const unsigned int len,
503 const unsigned int __nocast priority)
503{ 504{
504 struct dccp_ackpkts *ap = kmalloc(sizeof(*ap) + len, priority); 505 struct dccp_ackpkts *ap = kmalloc(sizeof(*ap) + len, priority);
505 506