From: David Miller <davem@davemloft.net>
To: lkundrak@v3.sk
Cc: konszert@marvell.com, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/3] pxa168_eth: Allocate receive queue initialized to zero
Date: Wed, 19 Jun 2013 22:19:36 -0700 (PDT) [thread overview]
Message-ID: <20130619.221936.645815291796203336.davem@davemloft.net> (raw)
In-Reply-To: <1371576648-21632-1-git-send-email-lkundrak@v3.sk>
From: Lubomir Rintel <lkundrak@v3.sk>
Date: Tue, 18 Jun 2013 19:30:48 +0200
> Zero pointer in rx_skb or tx_skb is how respective *_deinit() functions find
> out that a skb slot is unallocated. If *_init() functions unsuccessfully return
> after the allocation (e.g. when subsequent dma_alloc_coherent() is not
> successful), this would result in attempt to kfree() invalid pointers.
>
> Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Applied.
prev parent reply other threads:[~2013-06-20 5:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-18 17:30 [PATCH 1/3] pxa168_eth: Allocate receive queue initialized to zero Lubomir Rintel
2013-06-20 5:19 ` David Miller [this message]
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=20130619.221936.645815291796203336.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=konszert@marvell.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lkundrak@v3.sk \
--cc=netdev@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 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).