CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2016/08/22 10:01:52
Modified files:
sys/net : route.c route.h rtsock.c
sys/netinet : if_ether.c
sys/netinet6 : nd6.c
Log message:
Make the ``rt_gwroute'' pointer of RTF_GATEWAY entries immutable.
This means that no protection is needed to guarantee that the next hop
route wont be modified by CPU1 while CPU0 is dereferencing it in a L2
resolution functions.
While here also fix an ``ifa'' leak resulting in RTF_GATEWAY being always
invalid.
dlg@ likes it, inputs and ok bluhm@