|
|
|
netlink interface change and crash while feeing associated sk_buff. | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
Hello everybody,
I had a question regarding the new netlink interface in the kernels I guess since 2.6.24 and forward.
It looks like the entire netlink interface has changed since that kernel version.
Before the change the netlink function prototype used by drivers is :
void netlinkInput(struct sock *sk, int len)
but this has now changed to :
void netlinkInput(struct sk_buff * skb).
A problem that I am having in my driver is when I receive an skb from my application by the call to sendmsg, I get the packet as an skb in my driver.
Now once I send out the packet and when its time to free the skb, I call dev_kfree_skb_any(skb).
However, this code seems to crash in the freeing of this skb. Is there something wrong that I am doing in the feeing of this skb. Can it not be freed at this point?
Any thoughts?
Thank you.
Vinay
--
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Site Home] [Netdev] [Ethernet Bridging] [Linux 802.1Q VLAN] [Linux Wireless] [Kernel Newbies] [Memory] [Security] [Linux for Hams] [Netfilter] [Git] [Bugtraq] [Rubini] [Photo] [Yosemite] [Yosemite News] [MIPS Linux] [ARM Linux] [Linux RAID] [Linux PCI] [Linux Admin] [Samba] [Video 4 Linux] [Linux Resources]