diff options
| author | ozaki-r <ozaki-r@NetBSD.org> | 2017-12-14 05:47:45 +0000 |
|---|---|---|
| committer | ozaki-r <ozaki-r@NetBSD.org> | 2017-12-14 05:47:45 +0000 |
| commit | 6c1f6703e01f16e694f3b2c742d029409262e2e0 (patch) | |
| tree | b3cc90daf1429355b9969c8c23f2c6bf748e9d69 /sys/dev/microcode/run | |
| parent | 2710f36a351c7011fe406223f052ade8ad75f8a8 (diff) | |
Protect ifp returned from route_output_get_ifa surely
An ifp returned from route_output_get_ifa was supposed to be protected
by a returned ifa; if the ifa belongs to ifp, holding the ifa prevents
the ifp from being freed. However route_output_get_ifa can return an ifp
to which a returned ifa doesn't belong. So we need to take a reference
to a returning ifp separately.
Diffstat (limited to 'sys/dev/microcode/run')
0 files changed, 0 insertions, 0 deletions
