Hi all, I am writing a module , in which i need to pass some informattion from userspace to kernel space. So I decided to use netlink for this. One netlink protocol number is hijacked. (4 ref. netlink.h) since it is nopt used anywhere. what i do is as follows. mymodule_init() { ... return mymodulenetlink_init(); } mymodulenetlink_init() { sk = netlink_kernel_create(NETLINK_MYMODUE, mymodule_rec_function); printk(sk->socket); } the printk statement above indicates the sk->socket is NULL. However this could not happen if one follows netlink_kernel_create->netlink_create->sock_alloc->sock_init_data and returns a valid pointer (for sk, which it is returning.) any ideas? regards, -abhijit PS : any other mechanism for passing data across userspace/kernelspace ? -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ IRC Channel: irc.openprojects.net / #kernelnewbies Web Page: http://www.kernelnewbies.org/