]> err.no Git - linux-2.6/blobdiff - net/dccp/ipv6.c
[PATCH] handle errors returned by platform_get_irq*()
[linux-2.6] / net / dccp / ipv6.c
index 683250a05f58540edb3977444c7c67eb6f18109f..80c4d048869e10e2880b5dff67ea22ccd1d0e8f6 100644 (file)
@@ -468,6 +468,7 @@ static int dccp_v6_send_response(struct sock *sk, struct request_sock *req,
 done:
         if (opt && opt != np->opt)
                sock_kfree_s(sk, opt, opt->tot_len);
+       dst_release(dst);
        return err;
 }
 
@@ -1029,7 +1030,7 @@ discard:
        return 0;
 }
 
-static int dccp_v6_rcv(struct sk_buff **pskb, unsigned int *nhoffp)
+static int dccp_v6_rcv(struct sk_buff **pskb)
 {
        const struct dccp_hdr *dh;
        struct sk_buff *skb = *pskb;