Skip to contentSkip to conversation

sock_sendmsg() from a kernel thread question

DISCUSSION Pete Zaitcev 1 participant 1 message Oct 2, 2001 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 8 lines

I am trying to call sock_sendmsg() from a kernel thread and it seems to work fine on a UP system but on SMP system it hangs up and the thread can't even accept a SIGKILL. It it stuck after the following calls happen:

sock_sendmsg()
sock->ops->sendmsg()
tcp_do_sendmsg()

Always worked fine for me. I think something is up with your code. Care to post a relevant snippet?

-- Pete