diff options
author | Eric Dumazet <edumazet@google.com> | 2015-09-29 17:42:39 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-09-30 02:53:07 +0300 |
commit | a00e74442bac5ad19a929d097370da7e07540ea6 (patch) | |
tree | 22e3c0c3f94dfce499a3ab3ff567c59e5432c3b5 /net/dccp/minisocks.c | |
parent | 4c7e622ddf07388d72e15b97a88d260a5a168e37 (diff) | |
download | linux-a00e74442bac5ad19a929d097370da7e07540ea6.tar.xz |
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/minisocks.c')
-rw-r--r-- | net/dccp/minisocks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dccp/minisocks.c b/net/dccp/minisocks.c index 838f524cf11a..9bfd0dc1e6cb 100644 --- a/net/dccp/minisocks.c +++ b/net/dccp/minisocks.c @@ -236,7 +236,7 @@ int dccp_child_process(struct sock *parent, struct sock *child, EXPORT_SYMBOL_GPL(dccp_child_process); -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) { DCCP_BUG("DCCP-ACK packets are never sent in LISTEN/RESPOND state"); |