diff options
Diffstat (limited to 'net/dccp/ipv6.c')
-rw-r--r-- | net/dccp/ipv6.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/dccp/ipv6.c b/net/dccp/ipv6.c index fc326173c215..e0a0607862ef 100644 --- a/net/dccp/ipv6.c +++ b/net/dccp/ipv6.c | |||
@@ -310,7 +310,7 @@ static void dccp_v6_reqsk_destructor(struct request_sock *req) | |||
310 | kfree_skb(inet6_rsk(req)->pktopts); | 310 | kfree_skb(inet6_rsk(req)->pktopts); |
311 | } | 311 | } |
312 | 312 | ||
313 | static void dccp_v6_ctl_send_reset(struct sk_buff *rxskb) | 313 | static void dccp_v6_ctl_send_reset(struct sock *sk, struct sk_buff *rxskb) |
314 | { | 314 | { |
315 | struct dccp_hdr *rxdh = dccp_hdr(rxskb), *dh; | 315 | struct dccp_hdr *rxdh = dccp_hdr(rxskb), *dh; |
316 | const u32 dccp_hdr_reset_len = sizeof(struct dccp_hdr) + | 316 | const u32 dccp_hdr_reset_len = sizeof(struct dccp_hdr) + |
@@ -805,7 +805,7 @@ static int dccp_v6_do_rcv(struct sock *sk, struct sk_buff *skb) | |||
805 | return 0; | 805 | return 0; |
806 | 806 | ||
807 | reset: | 807 | reset: |
808 | dccp_v6_ctl_send_reset(skb); | 808 | dccp_v6_ctl_send_reset(sk, skb); |
809 | discard: | 809 | discard: |
810 | if (opt_skb != NULL) | 810 | if (opt_skb != NULL) |
811 | __kfree_skb(opt_skb); | 811 | __kfree_skb(opt_skb); |
@@ -902,7 +902,7 @@ no_dccp_socket: | |||
902 | if (dh->dccph_type != DCCP_PKT_RESET) { | 902 | if (dh->dccph_type != DCCP_PKT_RESET) { |
903 | DCCP_SKB_CB(skb)->dccpd_reset_code = | 903 | DCCP_SKB_CB(skb)->dccpd_reset_code = |
904 | DCCP_RESET_CODE_NO_CONNECTION; | 904 | DCCP_RESET_CODE_NO_CONNECTION; |
905 | dccp_v6_ctl_send_reset(skb); | 905 | dccp_v6_ctl_send_reset(sk, skb); |
906 | } | 906 | } |
907 | 907 | ||
908 | discard_it: | 908 | discard_it: |