Module Name: src Committed By: ozaki-r Date: Thu Dec 14 05:47:45 UTC 2017
Modified Files: src/sys/net: rtsock.c Log Message: 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. To generate a diff of this commit: cvs rdiff -u -r1.232 -r1.233 src/sys/net/rtsock.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.