From: Vinay Venkataraghavan <raghavanvinay@yahoo.com>
To: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
linux net <linux-net@vger.kernel.org>
Subject: netlink interface change and crash while feeing associated sk_buff.
Date: Fri, 19 Jun 2009 18:35:24 -0700 (PDT) [thread overview]
Message-ID: <284842.70159.qm@web39802.mail.mud.yahoo.com> (raw)
In-Reply-To: <dd18b0c30906191041l5aa09b73xc788af6d6ba7c24c@mail.gmail.com>
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
next prev parent reply other threads:[~2009-06-20 1:42 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-15 20:12 [RFC] Documentation: add documentation for rc-series and merge window Luis R. Rodriguez
2009-06-15 20:12 ` Luis R. Rodriguez
2009-06-15 20:18 ` John W. Linville
2009-06-15 20:19 ` Greg KH
2009-06-15 20:19 ` Greg KH
2009-06-15 21:47 ` Luis R. Rodriguez
2009-06-15 22:32 ` Greg KH
2009-06-15 22:32 ` Greg KH
2009-06-16 0:41 ` Luis R. Rodriguez
2009-06-16 2:10 ` Luis R. Rodriguez
2009-06-16 3:20 ` Greg KH
2009-06-16 3:20 ` Greg KH
2009-06-16 4:21 ` Luis R. Rodriguez
2009-06-16 4:21 ` Luis R. Rodriguez
2009-06-16 4:39 ` Luis R. Rodriguez
2009-06-16 4:39 ` Luis R. Rodriguez
2009-06-16 5:16 ` Greg KH
2009-06-16 5:16 ` Greg KH
2009-06-16 9:34 ` Jouni Malinen
2009-06-16 9:34 ` Jouni Malinen
2009-06-16 16:19 ` Stefan Richter
2009-06-16 16:19 ` Stefan Richter
2009-06-16 18:17 ` Luis R. Rodriguez
2009-06-16 18:17 ` Luis R. Rodriguez
2009-06-19 15:00 ` Pavel Machek
2009-06-19 17:10 ` Luis R. Rodriguez
2009-06-19 17:10 ` Luis R. Rodriguez
2009-06-19 17:41 ` Justin Mattock
2009-06-19 17:41 ` Justin Mattock
2009-06-19 17:41 ` Justin Mattock
2009-06-20 1:35 ` Vinay Venkataraghavan [this message]
2009-06-19 22:19 ` Pavel Machek
2009-06-19 22:19 ` Pavel Machek
2009-06-19 22:49 ` Krzysztof Halasa
2009-06-19 22:49 ` Krzysztof Halasa
2009-06-19 22:51 ` Luis R. Rodriguez
2009-06-19 22:51 ` Luis R. Rodriguez
2009-06-21 6:24 ` Pavel Machek
2009-06-19 22:56 ` Linus Torvalds
2009-06-21 0:47 ` Luis R. Rodriguez
2009-06-21 0:47 ` Luis R. Rodriguez
2009-06-21 0:47 ` Luis R. Rodriguez
2009-06-15 20:31 ` Pavel Roskin
2009-06-15 20:40 ` Gábor Stefanik
2009-06-15 20:40 ` Gábor Stefanik
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=284842.70159.qm@web39802.mail.mud.yahoo.com \
--to=raghavanvinay@yahoo.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-net@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.