regarding netlink usage

From: i trilok <hidden>
Date: 2012-11-30 01:36:29

Hi,

I was trying to port some module code from 2.6.29 to 2.6.34.10 kernel.
I'm using netlink for communication between kernel module and user
application. In the netlink receive call back function I'm retrieving
netlink message header from (struct nlmsghdr*)skb->data and the same
was working in 2.6.29 kernel but when I ported this to 2.6.34.10 I was
seeing (struct nlmsghdr*)skb->head is holding the netlink message
header instead of skb->data, what could be wrong, is this intended
behavior?.

Thanks in advance.


Thanks,
Ina.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help