need help with netlink sockets

From: Praveen Rajendran (rp@sasken.com)
Date: Tue Mar 20 2001 - 10:07:32 EST


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/



This archive was generated by hypermail 2b29 : Fri Mar 23 2001 - 21:00:14 EST