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:   dyoung
Date:           Thu Nov 20 21:54:42 UTC 2008

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

Log Message:
In the new ifioctl order, tun_ioctl() can call itself through
ifioctl_common().  Since the first tun_ioctl() call already holds
the simplelock, the second tun_ioctl() call will wait forever to
acquire it: deadlock.

To fix this, wait to acquire the lock until tuninit().


To generate a diff of this commit:
cvs rdiff -r1.108 -r1.109 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