aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@mandriva.com>2006-03-21 01:31:26 -0500
committerDavid S. Miller <davem@davemloft.net>2006-03-21 01:31:26 -0500
commitc5fed1597ebb2c1bf55a7334cce2d0e8d18ef5b7 (patch)
tree7fd3a91c0afe7f57be7fdb217cb070acb9bfbbcb /net/dccp
parent118b2c9532c853ebdf15c21128d30a343b89ea45 (diff)
[DCCP]: ditch dccp_v[46]_ctl_send_ack
Merging it with its only user: dccp_v[46]_reqsk_send_ack. Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp')
-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);