netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* When should kfree_skb be used?
@ 2008-05-09  4:49 Paul Marks
  2008-05-09  6:34 ` Paul Marks
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Marks @ 2008-05-09  4:49 UTC (permalink / raw)
  To: netdev

Hi, I'm trying to make sense of the ipip6_rcv function here:

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=net/ipv6/sit.c;hb=HEAD#l564

Specifically, why is kfree_skb called when pskb_may_pull(...) returns
true, but not called when it returns false?  Is there something in the
code path which increments the skb's reference count that I'm not
noticing?

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-05-09  6:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-09  4:49 When should kfree_skb be used? Paul Marks
2008-05-09  6:34 ` Paul Marks
2008-05-09  6:41   ` David Miller
2008-05-09  6:55     ` Paul Marks

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).