Hi all,
I have written kernel module to communicates with user space appl. using netlink socket.
skb = skb_recv_datagr am(nl_sk,0,1,&e rr); (Blocks at this point)
skb type is "struct sk_buff";
nl_sk type is "struct sock"
when calling skb_recv_datagr am()(in kernel module) and choose it to be blocking (for a timeout period) it blocks and never wake up even if a packet has arrived to kernel,the packet has arrived from user space for sure .. cause the call back function i've registered while creating the socket is called every time i send a packet from user space.
Plz help me what is problem
--
Shashidhara
I have written kernel module to communicates with user space appl. using netlink socket.
skb = skb_recv_datagr am(nl_sk,0,1,&e rr); (Blocks at this point)
skb type is "struct sk_buff";
nl_sk type is "struct sock"
when calling skb_recv_datagr am()(in kernel module) and choose it to be blocking (for a timeout period) it blocks and never wake up even if a packet has arrived to kernel,the packet has arrived from user space for sure .. cause the call back function i've registered while creating the socket is called every time i send a packet from user space.
Plz help me what is problem
--
Shashidhara
Comment