lkml.org 
[lkml]   [2001]   [Mar]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subjectneed help with netlink sockets
Date
Hi

The NETLINK_ROUTE family deifned as a part of the netlink socket
protocol has the data handler of the sock structure set to
rtnetlinl_rcv. However this function dequeues the data packet ( in the
skb ) from the receive queue of the sock structure and processes it if
the flag in the nlmsghdr is set ot NLM_F_REQUEST.

While sending information back to the user this flag is not set. So the
packet is dequeued and lost . Arnt there provisions made to handle
packets from the kernel to the user ?

Thanks in advance

Praveen


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:29    [W:0.030 / U:0.980 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site