cvs commit: src/sys/netgraph ng_device.c

Roman Kurakin rik at cronyx.ru
Mon Feb 14 17:18:10 GMT 2005


Gleb Smirnoff wrote:

>glebius     2005-02-14 13:47:06 UTC
>
>  FreeBSD src repository
>
>  Modified files:
>    sys/netgraph         ng_device.c 
>  Log:
>  Make WITNESS happier:
>  - refactor ngd_constructor, so that make_dev() is called without
>    any locks held, since it mallocs memory with M_WAITOK flag.
>  - rename global mtx, to have name different to per-node mtx
>  
>  MFC after:      2 weeks
>  
>  Revision  Changes    Path
>  1.19      +14 -20    src/sys/netgraph/ng_device.c
>  
>
Thanks!



More information about the cvs-src mailing list