From: David Miller <davem@davemloft.net>
To: jiri@resnulli.us
Cc: dborkman@redhat.com, netdev@vger.kernel.org
Subject: Re: [PATCH net] net: rtm_to_ifaddr: free ifa if ifa_cacheinfo processing fails
Date: Fri, 02 Aug 2013 14:56:42 -0700 (PDT) [thread overview]
Message-ID: <20130802.145642.1722240129413896432.davem@davemloft.net> (raw)
In-Reply-To: <20130802102229.GB1586@minipsycho.orion>
From: Jiri Pirko <jiri@resnulli.us>
Date: Fri, 2 Aug 2013 12:22:29 +0200
> Fri, Aug 02, 2013 at 11:32:43AM CEST, dborkman@redhat.com wrote:
>>Commit 5c766d642 ("ipv4: introduce address lifetime") leaves the ifa
>>resource that was allocated via inet_alloc_ifa() unfreed when returning
>>the function with -EINVAL. Thus, free it first via inet_free_ifa().
>>
>>Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
> Reviewed-by: Jiri Pirko <jiri@resnulli.us>
Applied and queued up for -stable, thanks.
prev parent reply other threads:[~2013-08-02 21:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-02 9:32 [PATCH net] net: rtm_to_ifaddr: free ifa if ifa_cacheinfo processing fails Daniel Borkmann
2013-08-02 10:22 ` Jiri Pirko
2013-08-02 21:56 ` 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=20130802.145642.1722240129413896432.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=dborkman@redhat.com \
--cc=jiri@resnulli.us \
--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