I am stuck in netlink and connector.
Netlink:
I used this article http://www.linuxjournal.com/article/7356 to learn netlink. Modified the code by going through current kernel code which uses netlink sockets. Now I have a code which can send data from user space to kernel and vice versa. But kernel hangs after after few attempts of executing it. Unable to figure out the problem. I have attached the code. It would be great if sombody can solve the problem.
Connector:
Then I turned to connector. Tried connector example in documentation. I am not able to receive any message from kernel side. Please sombody try that code and let me know if it is working properly.
--
~p~r~a~s~h~a~n~t~
Attachment:
netlink.zip
Description: Zip archive