aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/dccp/ipv4.c9
-rw-r--r--net/dccp/ipv6.c9
2 files changed, 4 insertions, 14 deletions
diff --git a/net/dccp/ipv4.c b/net/dccp/ipv4.c
index 64b7f8bda42d..80d450ba6219 100644
--- a/net/dccp/ipv4.c
+++ b/net/dccp/ipv4.c
@@ -197,7 +197,8 @@ static inline void dccp_do_pmtu_discovery(struct sock *sk,
197 } /* else let the usual retransmit timer handle it */ 197 } /* else let the usual retransmit timer handle it */
198} 198}
199 199
200static void dccp_v4_ctl_send_ack(struct sk_buff *rxskb) 200static void dccp_v4_reqsk_send_ack(struct sk_buff *rxskb,
201 struct request_sock *req)
201{ 202{
202 int err; 203 int err;
203 struct dccp_hdr *rxdh = dccp_hdr(rxskb), *dh; 204 struct dccp_hdr *rxdh = dccp_hdr(rxskb), *dh;
@@ -245,12 +246,6 @@ static void dccp_v4_ctl_send_ack(struct sk_buff *rxskb)
245 } 246 }
246} 247}
247 248
248static void dccp_v4_reqsk_send_ack(struct sk_buff *skb,
249 struct request_sock *req)
250{
251 dccp_v4_ctl_send_ack(skb);
252}
253
254static int dccp_v4_send_response(struct sock *sk, struct request_sock *req, 249static int dccp_v4_send_response(struct sock *sk, struct request_sock *req,
255 struct dst_entry *dst) 250 struct dst_entry *dst)
256{ 251{
diff --git a/net/dccp/ipv6.c b/net/dccp/ipv6.c
index 0f328c753c57..7c8233f6d3c2 100644
--- a/net/dccp/ipv6.c
+++ b/net/dccp/ipv6.c
@@ -580,7 +580,8 @@ static void dccp_v6_ctl_send_reset(struct sk_buff *rxskb)
580 kfree_skb(skb); 580 kfree_skb(skb);
581} 581}
582 582
583static void dccp_v6_ctl_send_ack(struct sk_buff *rxskb) 583static void dccp_v6_reqsk_send_ack(struct sk_buff *rxskb,
584 struct request_sock *req)
584{ 585{
585 struct flowi fl; 586 struct flowi fl;
586 struct dccp_hdr *rxdh = dccp_hdr(rxskb), *dh; 587 struct dccp_hdr *rxdh = dccp_hdr(rxskb), *dh;
@@ -633,12 +634,6 @@ static void dccp_v6_ctl_send_ack(struct sk_buff *rxskb)
633 kfree_skb(skb); 634 kfree_skb(skb);
634} 635}
635 636
636static void dccp_v6_reqsk_send_ack(struct sk_buff *skb,
637 struct request_sock *req)
638{
639 dccp_v6_ctl_send_ack(skb);
640}
641
642static struct sock *dccp_v6_hnd_req(struct sock *sk,struct sk_buff *skb) 637static struct sock *dccp_v6_hnd_req(struct sock *sk,struct sk_buff *skb)
643{ 638{
644 const struct dccp_hdr *dh = dccp_hdr(skb); 639 const struct dccp_hdr *dh = dccp_hdr(skb);