lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ