[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CAABZP2xW7z+AXReRHfiMyrSP6gBkzPJOG4oAm6xZK+KCsBYvdw@mail.gmail.com>
Date: Thu, 7 Mar 2013 14:58:42 +0800
From: Zhouyi Zhou <zhouzhouyi@...il.com>
To: netdev@...r.kernel.org
Subject: Re: kernel panic in fib6_age (linux-3.6.6) and sugguested fix
> How about this one below? without modifying the return value:
> __u8 neigh_flags = 0;
>
>
> neigh = dst_neigh_lookup(&rt->dst,
> &rt->rt6i_gateway);
> - if (neigh) {
> + if (!IS_ERR(neigh)) {
>
> neigh_flags = neigh->flags;
> neigh_release(neigh);
> }
you are correct, this one avoid breaking out of the process of the fib
table traveling
Zhouyi
--
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