diff options
Diffstat (limited to 'net/dccp/ipv4.c')
-rw-r--r-- | net/dccp/ipv4.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/dccp/ipv4.c b/net/dccp/ipv4.c index 34d6d197c3b2..35985334daee 100644 --- a/net/dccp/ipv4.c +++ b/net/dccp/ipv4.c | |||
@@ -509,7 +509,7 @@ out: | |||
509 | return err; | 509 | return err; |
510 | } | 510 | } |
511 | 511 | ||
512 | static void dccp_v4_ctl_send_reset(struct sk_buff *rxskb) | 512 | static void dccp_v4_ctl_send_reset(struct sock *sk, struct sk_buff *rxskb) |
513 | { | 513 | { |
514 | int err; | 514 | int err; |
515 | struct dccp_hdr *rxdh = dccp_hdr(rxskb), *dh; | 515 | struct dccp_hdr *rxdh = dccp_hdr(rxskb), *dh; |
@@ -724,7 +724,7 @@ int dccp_v4_do_rcv(struct sock *sk, struct sk_buff *skb) | |||
724 | return 0; | 724 | return 0; |
725 | 725 | ||
726 | reset: | 726 | reset: |
727 | dccp_v4_ctl_send_reset(skb); | 727 | dccp_v4_ctl_send_reset(sk, skb); |
728 | discard: | 728 | discard: |
729 | kfree_skb(skb); | 729 | kfree_skb(skb); |
730 | return 0; | 730 | return 0; |
@@ -913,7 +913,7 @@ no_dccp_socket: | |||
913 | if (dh->dccph_type != DCCP_PKT_RESET) { | 913 | if (dh->dccph_type != DCCP_PKT_RESET) { |
914 | DCCP_SKB_CB(skb)->dccpd_reset_code = | 914 | DCCP_SKB_CB(skb)->dccpd_reset_code = |
915 | DCCP_RESET_CODE_NO_CONNECTION; | 915 | DCCP_RESET_CODE_NO_CONNECTION; |
916 | dccp_v4_ctl_send_reset(skb); | 916 | dccp_v4_ctl_send_reset(sk, skb); |
917 | } | 917 | } |
918 | 918 | ||
919 | discard_it: | 919 | discard_it: |