svn commit: r334314 - head/sys/net
Hans Petter Selasky
hps at selasky.org
Tue May 29 07:39:20 UTC 2018
On 05/29/18 09:14, Matt Macy wrote:
> Author: mmacy
> Date: Tue May 29 07:14:57 2018
> New Revision: 334314
> URL: https://svnweb.freebsd.org/changeset/base/334314
>
> Log:
> rt_getifa_fib: don't use ifa but info->rti_ifa
>
> Reported by: kp
>
> Modified:
> head/sys/net/route.c
>
> Modified: head/sys/net/route.c
> ==============================================================================
> --- head/sys/net/route.c Tue May 29 04:23:21 2018 (r334313)
> +++ head/sys/net/route.c Tue May 29 07:14:57 2018 (r334314)
> @@ -1308,7 +1308,7 @@ rt_getifa_fib(struct rt_addrinfo *info, u_int fibnum)
> }
> if (needref && info->rti_ifa != NULL) {
> if (info->rti_ifp == NULL)
> - info->rti_ifp = ifa->ifa_ifp;
> + info->rti_ifp = info->rti_ifa->ifa_ifp;
> ifa_ref(info->rti_ifa);
> } else
> error = ENETUNREACH;
>
>
Hi,
This and the previous commit solves the panics I see.
--HPS
More information about the svn-src-head
mailing list