X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=net%2Fdccp%2Fipv6.c;h=80c4d048869e10e2880b5dff67ea22ccd1d0e8f6;hb=489447380a2921ec0e9154f773c44ab3167ede4b;hp=2e194c8f9953541d0af875190fa51262237e63e0;hpb=25995ff577675b58dbd848b7758e7bad87411947;p=linux-2.6 diff --git a/net/dccp/ipv6.c b/net/dccp/ipv6.c index 2e194c8f99..80c4d04886 100644 --- a/net/dccp/ipv6.c +++ b/net/dccp/ipv6.c @@ -20,12 +20,14 @@ #include #include #include +#include #include #include #include #include #include #include +#include #include #include "dccp.h" @@ -466,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; } @@ -1027,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;