summaryrefslogtreecommitdiffstats
path: root/net/dccp/dccp.h
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2015-09-29 07:42:39 -0700
committerDavid S. Miller <davem@davemloft.net>2015-09-29 16:53:07 -0700
commita00e74442bac5ad19a929d097370da7e07540ea6 (patch)
tree22e3c0c3f94dfce499a3ab3ff567c59e5432c3b5 /net/dccp/dccp.h
parent4c7e622ddf07388d72e15b97a88d260a5a168e37 (diff)
downloadop-kernel-dev-a00e74442bac5ad19a929d097370da7e07540ea6.zip
op-kernel-dev-a00e74442bac5ad19a929d097370da7e07540ea6.tar.gz
tcp/dccp: constify send_synack and send_reset socket argument
None of these functions need to change the socket, make it const. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp/dccp.h')
-rw-r--r--net/dccp/dccp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dccp/dccp.h b/net/dccp/dccp.h
index 31e96df..8ed1df2 100644
--- a/net/dccp/dccp.h
+++ b/net/dccp/dccp.h
@@ -229,7 +229,7 @@ void dccp_v4_send_check(struct sock *sk, struct sk_buff *skb);
int dccp_retransmit_skb(struct sock *sk);
void dccp_send_ack(struct sock *sk);
-void dccp_reqsk_send_ack(struct sock *sk, struct sk_buff *skb,
+void dccp_reqsk_send_ack(const struct sock *sk, struct sk_buff *skb,
struct request_sock *rsk);
void dccp_send_sync(struct sock *sk, const u64 seq,
OpenPOWER on IntegriCloud