phdeniel / nfs-ganesha

NFS-Ganesha, a NFSv3/NFSv4.x/9P file server in User Space
http://nfs-ganesha.sf.net
61 stars 49 forks source link

9P/tcp : protect against concurrent calls to send() #91

Closed sderr closed 12 years ago

sderr commented 12 years ago

Calls to write()/send() are not guaranteed to be atomic.

Hence to prevent replies to different requests from being mixed up we need to protect these calls with a lock.