Thread (14 messages) flat view 14 messages, 4 authors, 2005-11-23

Re: netlink nlmsg_pid supposed to be pid or tid?

From: Christopher Friesen <hidden>
Date: 2005-11-21 19:46:42
Also in: lkml

Friesen, Christopher [CAR:VC21:EXCH] wrote:
When using netlink, should "nlmsg_pid" be set to pid (current->tgid) or 
tid (current->pid)?
The reason I ask is that with 2.6.10 we had to set it to tid, which 
really doesn't make much sense given than sockets are shared across all 
threads in a process (and gettid() isn't even a libc function).

Chris
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help