lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <8e5b27790805082149y6d9f604ds7feefe2804f3823c@mail.gmail.com>
Date:	Thu, 8 May 2008 21:49:27 -0700
From:	"Paul Marks" <paul@...rks.net>
To:	netdev@...r.kernel.org
Subject: When should kfree_skb be used?

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?
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ