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-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8e5b27790805082334g6c5a1752pd42ab291ac6b33af@mail.gmail.com>
Date:	Thu, 8 May 2008 23:34:59 -0700
From:	"Paul Marks" <paul@...rks.net>
To:	netdev@...r.kernel.org
Subject: Re: When should kfree_skb be used?

On Thu, May 8, 2008 at 9:49 PM, Paul Marks <paul@...rks.net> wrote:
> 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
>

I've been looking at more uses of pskb_may_pull(), and almost all of
them seem to kfree_skb() after a failure.  Could this occurence in
sit.c be a bug?  It looks like this line was added by davem for linux
2.4.4 in 2001, and hasn't changed since.
--
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