[BACK]Return to if_dmc.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / dev / qbus

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

Diff for /src/sys/dev/qbus/if_dmc.c between version 1.25 and 1.26

version 1.25, 2016/07/07 09:32:02 version 1.26, 2016/07/20 07:37:51
Line 313  dmcinit(struct ifnet *ifp)
Line 313  dmcinit(struct ifnet *ifp)
          * Check to see that an address has been set           * Check to see that an address has been set
          * (both local and destination for an address family).           * (both local and destination for an address family).
          */           */
         IFADDR_READER_FOREACH(ifa, ifp)          s = pserialize_read_enter();
           IFADDR_READER_FOREACH(ifa, ifp) {
                 if (ifa->ifa_addr->sa_family && ifa->ifa_dstaddr->sa_family)                  if (ifa->ifa_addr->sa_family && ifa->ifa_dstaddr->sa_family)
                         break;                          break;
           }
           pserialize_read_exit(s);
         if (ifa == NULL)          if (ifa == NULL)
                 return 0;                  return 0;
   

Legend:
Removed from v.1.25  
changed lines
  Added in v.1.26

CVSweb <webmaster@jp.NetBSD.org>