cvs commit: src/sys/net if.h

Ian Dowse iedowse at FreeBSD.org
Thu Mar 27 11:02:31 PDT 2008


iedowse     2008-03-27 18:02:30 UTC

  FreeBSD src repository

  Modified files:
    sys/net              if.h 
  Log:
  Add IFF_NEEDSGIANT to IFF_CANTCHANGE, to prevent user-level code
  from clearing the IFF_NEEDSGIANT flag on Giant-locked interfaces.
  In particular, wpa_supplicant was doing this on USB interfaces,
  causing panics when Giant-locked code was then called without Giant.
  
  Submitted by:   Alexey Popov
  Reviewed by:    rwatson
  MFC after:      3 days
  
  Revision  Changes    Path
  1.113     +2 -1      src/sys/net/if.h


More information about the cvs-all mailing list