Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/net



Module Name:    src
Committed By:   pk
Date:           Fri May 14 13:23:12 UTC 2004

Modified Files:
        src/sys/net: if_tun.c

Log Message:
Fix locking issues noticed by Tom Ivar Helbekkmo on tech-net:
        * always acquire the device instance lock at splnet()
        * missing unlocks in various places

Also, since this driver allows its device instances manipulated by two
independent subsystems (character device & interface clone create/destroy),
be careful not to rip away instance data in a clone destroy request if the
instance is still opened as a character device.


To generate a diff of this commit:
cvs rdiff -r1.69 -r1.70 src/sys/net/if_tun.c

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




Home | Main Index | Thread Index | Old Index