Messages in this thread | | | From | Praveen Rajendran <> | Subject | need help with netlink sockets | Date | Tue, 20 Mar 2001 20:37:32 +0530 |
| |
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/
| |