[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150904235246.GA99888@kafai-mba.local>
Date: Fri, 4 Sep 2015 16:52:46 -0700
From: Martin KaFai Lau <kafai@...com>
To: netdev <netdev@...r.kernel.org>
CC: "David S. Miller" <davem@...emloft.net>,
Eric Dumazet <eric.dumazet@...il.com>,
Hannes Frederic Sowa <hannes@...essinduktion.org>,
Kernel Team <kernel-team@...com>
Subject: Re: [PATCH RFC v2 net 4/5] ipv6: Avoid double dst_free
On Fri, Sep 04, 2015 at 04:12:41PM -0700, Martin KaFai Lau wrote:
> @@ -1962,6 +1961,9 @@ static int __ip6_del_rt(struct rt6_info *rt, struct nl_info *info)
> if (rt == net->ipv6.ip6_null_entry) {
> err = -ENOENT;
> goto out;
> + } else if (rt->dst.flags & DST_NOCACHE) {
> + err = -ENOENT;
> + goto out;
> }
These two cases should be merged.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists