diff options
author | Arnaldo Carvalho de Melo <acme@mandriva.com> | 2006-03-21 01:31:26 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-03-21 01:31:26 -0500 |
commit | c5fed1597ebb2c1bf55a7334cce2d0e8d18ef5b7 (patch) | |
tree | 7fd3a91c0afe7f57be7fdb217cb070acb9bfbbcb /net/dccp/ipv6.c | |
parent | 118b2c9532c853ebdf15c21128d30a343b89ea45 (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/ipv6.c')
-rw-r--r-- | net/dccp/ipv6.c | 9 |
1 files changed, 2 insertions, 7 deletions
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 | ||
583 | static void dccp_v6_ctl_send_ack(struct sk_buff *rxskb) | 583 | static 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 | ||
636 | static 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 | |||
642 | static struct sock *dccp_v6_hnd_req(struct sock *sk,struct sk_buff *skb) | 637 | static 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); |