[BACK]Return to if.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / net

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/net/if.c between version 1.463 and 1.464

version 1.463, 2019/10/06 15:11:17 version 1.464, 2019/11/13 02:51:22
Line 2197  link_rtrequest(int cmd, struct rtentry *
Line 2197  link_rtrequest(int cmd, struct rtentry *
         struct ifnet *ifp;          struct ifnet *ifp;
         struct psref psref;          struct psref psref;
   
         if (cmd != RTM_ADD || (ifa = rt->rt_ifa) == NULL ||          if (cmd != RTM_ADD || ISSET(info->rti_flags, RTF_DONTCHANGEIFA))
             (ifp = ifa->ifa_ifp) == NULL || (dst = rt_getkey(rt)) == NULL ||  
             ISSET(info->rti_flags, RTF_DONTCHANGEIFA))  
                 return;                  return;
           ifp = rt->rt_ifa->ifa_ifp;
           dst = rt_getkey(rt);
         if ((ifa = ifaof_ifpforaddr_psref(dst, ifp, &psref)) != NULL) {          if ((ifa = ifaof_ifpforaddr_psref(dst, ifp, &psref)) != NULL) {
                 rt_replace_ifa(rt, ifa);                  rt_replace_ifa(rt, ifa);
                 if (ifa->ifa_rtrequest && ifa->ifa_rtrequest != link_rtrequest)                  if (ifa->ifa_rtrequest && ifa->ifa_rtrequest != link_rtrequest)

Legend:
Removed from v.1.463  
changed lines
  Added in v.1.464

CVSweb <webmaster@jp.NetBSD.org>