cvs commit: src/sys/net if_var.h

Robert Watson rwatson at FreeBSD.org
Tue Aug 2 17:43:37 GMT 2005


rwatson     2005-08-02 17:43:35 UTC

  FreeBSD src repository

  Modified files:
    sys/net              if_var.h 
  Log:
  Add if_addr_mtx to struct ifnet, a mutex to protect ifnet-related address
  lists.  Add accessor macros.
  
  This changes the size of struct ifnet, but ideally, all ifnet consumers
  are now using if_alloc() to allocate these structures rather than
  embedding them into device driver softc's, so this won't modify the
  network device driver ABI.
  
  MFC after:      1 week
  
  Revision  Changes    Path
  1.100     +11 -0     src/sys/net/if_var.h


More information about the cvs-all mailing list