LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Is sock_sendmsg MP safe (https://www.linuxquestions.org/questions/linux-networking-3/is-sock_sendmsg-mp-safe-340107/)

gsreekanth1 07-05-2005 01:27 AM

Is sock_sendmsg MP safe
 
Hi All,
linux sock interface 'sock_sendmsg' is not MP safe?
I am getting corruption problems when multiple processes
try to send data thru same socket.
In the function 'unix_stream_sendmsg', I don't see any lock taken
before the 'while loop' of adding skb to peer's receive queue.
Any idea on this?

Thanks
Sreekanth.


All times are GMT -5. The time now is 09:06 PM.