diff options
author | Eric Dumazet <edumazet@google.com> | 2015-09-29 16:42:39 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-09-30 01:53:07 +0200 |
commit | a00e74442bac5ad19a929d097370da7e07540ea6 (patch) | |
tree | 22e3c0c3f94dfce499a3ab3ff567c59e5432c3b5 /net/dccp/ipv4.c | |
parent | Merge branch 'ipv4-routing-cleanups' (diff) | |
download | linux-a00e74442bac5ad19a929d097370da7e07540ea6.tar.xz linux-a00e74442bac5ad19a929d097370da7e07540ea6.zip |
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/ipv4.c')
-rw-r--r-- | net/dccp/ipv4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dccp/ipv4.c b/net/dccp/ipv4.c index a46ae9c69ccf..00a14fa4270a 100644 --- a/net/dccp/ipv4.c +++ b/net/dccp/ipv4.c @@ -527,7 +527,7 @@ out: return err; } -static void dccp_v4_ctl_send_reset(struct sock *sk, struct sk_buff *rxskb) +static void dccp_v4_ctl_send_reset(const struct sock *sk, struct sk_buff *rxskb) { int err; const struct iphdr *rxiph; |