[PATCH 2/2] route: make rtnl_tc_clone() more robust agaoins NLE_NOMEM
Thomas Haller
thaller at redhat.com
Mon Nov 24 09:25:59 PST 2014
On Mon, 2014-11-24 at 17:19 +0100, Thomas Haller wrote:
> When oo_clone() fails, the new object is freed. Make sure dst
> does not owns parts of src.
>
> Signed-off-by: Thomas Haller <thaller at redhat.com>
> ---
> lib/route/tc.c | 10 +++++++++-
> 1 file changed, 9 insertions(+), 1 deletion(-)
Both patches applied and merged:
https://github.com/thom311/libnl/commit/5fbd45e667b262b58b5f145826d2e2f4fe12b73e
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/libnl/attachments/20141124/5cede7f5/attachment.sig>
More information about the libnl
mailing list