Re: [PATCH] net/hsr: Fix possible leak in 'hsr_get_node_status()'

From: David Miller
Date: Thu Nov 14 2013 - 17:26:49 EST


From: "Geyslan G. Bem" <geyslan@xxxxxxxxx>
Date: Thu, 14 Nov 2013 16:12:54 -0300

> If 'hsr_get_node_data()' returns error, going directly to 'fail' label
> doesn't free the memory pointed by 'skb_out'.
>
> Signed-off-by: Geyslan G. Bem <geyslan@xxxxxxxxx>

Looks good, applied, thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/