On 12.04.2018 06:38, Ryota Ozaki wrote: > Module Name: src > Committed By: ozaki-r > Date: Thu Apr 12 04:38:13 UTC 2018 > > Modified Files: > src/sys/net: if.h route.c route.h rtsock.c > > Log Message: > Resolve tangled lock dependencies in route.c > > This change sweeps remaining lock decisions based on if locked or not by moving > utility functions of rtentry updates from rtsock.c and ensuring holding the > rt_lock. It also improves the atomicity of a update of a rtentry. > > +static struct ifaddr * > +rt_update_get_ifa(const struct rt_addrinfo info, const struct rtentry *rt, > + struct ifnet **ifp, struct psref *psref_ifp, struct psref *psref) > +{ Do we need to pass info as a value? It is pretty large here (1024 bytes).
Attachment:
signature.asc
Description: OpenPGP digital signature