[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: netlink?



On Sat, Jul 24, 1999 at 12:25:29AM +0200, Roy Leung wrote:
> 
> I have a question on Linux netlink
> 
> In netlink_unicast(), why do we need to put the sk_buff into the sock's
> receive queue and then call data_ready (which is rtnetlink_rcv)?  Is it
> ture that netlink_unicast() directly calls data_ready without calling
> schedule() or getting interrupted by itself?

Yes. Netlink in kernel mostly uses co-routines, not separate threads.

-Andi

-- 
This is like TV. I don't like TV.