Re: [B.A.T.M.A.N.] [PATCH 2/3] batman-adv: Split a condition check

From: Marek Lindner
Date: Sat Nov 21 2015 - 16:52:01 EST


On Tuesday, November 03, 2015 21:54:35 SF Markus Elfring wrote:
> From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
> Date: Tue, 3 Nov 2015 20:41:02 +0100
>
> Let us split a check for a condition at the beginning of the
> batadv_is_ap_isolated() function so that a direct return can be performed
> in this function if the variable "vlan" contained a null pointer.
>
> Signed-off-by: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
> ---
> net/batman-adv/translation-table.c | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)

Applied in revision b1199c6.

Thanks,
Marek

Attachment: signature.asc
Description: This is a digitally signed message part.