MFC 285325
Correct issue presented in r285051 by properly initializing variable. Differential Revision: https://reviews.freebsd.org/D3036
This commit is contained in:
parent
b2cc8257fa
commit
3082d2efe1
@ -1382,7 +1382,8 @@ ip_forward(struct mbuf *m, int srcrt)
|
||||
if (ro.ro_rt != NULL) {
|
||||
ia = ifatoia(ro.ro_rt->rt_ifa);
|
||||
ifa_ref(&ia->ia_ifa);
|
||||
}
|
||||
} else
|
||||
ia = NULL;
|
||||
#ifndef IPSEC
|
||||
/*
|
||||
* 'ia' may be NULL if there is no route for this destination.
|
||||
|
Loading…
Reference in New Issue
Block a user