[PATCH v3 3/3] netlabel: Less function calls in netlbl_mgmt_add_common() after error detection

2015-02-02 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 2 Feb 2015 11:00:24 +0100 The functions "cipso_v4_doi_putdef" and "kfree" could be called in some cases by the netlbl_mgmt_add_common() function during error handling even if the passed variables contained still a null pointer. * This implementation detail could

[PATCH v3 3/3] netlabel: Less function calls in netlbl_mgmt_add_common() after error detection

2015-02-02 Thread SF Markus Elfring
From: Markus Elfring elfr...@users.sourceforge.net Date: Mon, 2 Feb 2015 11:00:24 +0100 The functions cipso_v4_doi_putdef and kfree could be called in some cases by the netlbl_mgmt_add_common() function during error handling even if the passed variables contained still a null pointer. * This