[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20130802.145642.1722240129413896432.davem@davemloft.net>
Date: Fri, 02 Aug 2013 14:56:42 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: jiri@...nulli.us
Cc: dborkman@...hat.com, netdev@...r.kernel.org
Subject: Re: [PATCH net] net: rtm_to_ifaddr: free ifa if ifa_cacheinfo
processing fails
From: Jiri Pirko <jiri@...nulli.us>
Date: Fri, 2 Aug 2013 12:22:29 +0200
> Fri, Aug 02, 2013 at 11:32:43AM CEST, dborkman@...hat.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@...hat.com>
> Reviewed-by: Jiri Pirko <jiri@...nulli.us>
Applied and queued up for -stable, thanks.
--
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