X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=net%2Fdccp%2Fipv6.c;h=80c4d048869e10e2880b5dff67ea22ccd1d0e8f6;hb=489447380a2921ec0e9154f773c44ab3167ede4b;hp=c609dc78f4871382ac582949497cdeef3b5cc312;hpb=14c850212ed8f8cbb5972ad6b8812e08a0bc901c;p=linux-2.6 diff --git a/net/dccp/ipv6.c b/net/dccp/ipv6.c index c609dc78f4..80c4d04886 100644 --- a/net/dccp/ipv6.c +++ b/net/dccp/ipv6.c @@ -27,6 +27,7 @@ #include #include #include +#include #include #include "dccp.h" @@ -467,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; } @@ -1028,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;