public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6•org>
To: Eric Dumazet <eric.dumazet@gmail•com>,
	David Miller <davem@davemloft•net>
Cc: netdev <netdev@vger•kernel.org>,
	YOSHIFUJI Hideaki <yoshfuji@linux-ipv6•org>
Subject: Re: [PATCH net] ipv6: Fix addrconf_dst_alloc() failure check.
Date: Fri, 18 Jan 2013 23:38:39 +0900	[thread overview]
Message-ID: <50F95E6F.7050807@linux-ipv6.org> (raw)
In-Reply-To: <1358519314.11051.111.camel@edumazet-glaptop>

Eric Dumazet wrote:
> On Fri, 2013-01-18 at 20:56 +0900, YOSHIFUJI Hideaki wrote:
>> The function returns NULL on error and it never return error code
>> embedded in pointer.
>>
> 
> Which functions returns NULL ?
> 
> addrconf_dst_alloc() returns ERR_PTR(-ENOMEM) in case of error in my net
> tree.
> 
> Also, please consider adding the bug origin in your changelogs.

Oh, right.  I probably looked into different dst_alloc variants
and was confused.  Please ignore.

--yoshfuji

      reply	other threads:[~2013-01-18 14:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-18 11:56 [PATCH net] ipv6: Fix addrconf_dst_alloc() failure check YOSHIFUJI Hideaki
2013-01-18 14:28 ` Eric Dumazet
2013-01-18 14:38   ` YOSHIFUJI Hideaki [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=50F95E6F.7050807@linux-ipv6.org \
    --to=yoshfuji@linux-ipv6$(echo .)org \
    --cc=davem@davemloft$(echo .)net \
    --cc=eric.dumazet@gmail$(echo .)com \
    --cc=netdev@vger$(echo .)kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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