[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200106.133954.516759492863458363.davem@redhat.com>
Date: Mon, 06 Jan 2020 13:39:54 -0800 (PST)
From: David Miller <davem@...hat.com>
To: christophe.jaillet@...adoo.fr
Cc: pablo@...filter.org, laforge@...monks.org,
osmocom-net-gprs@...ts.osmocom.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] gtp: simplify error handling code in
'gtp_encap_enable()'
From: Christophe JAILLET <christophe.jaillet@...adoo.fr>
Date: Sun, 5 Jan 2020 18:36:07 +0100
> 'gtp_encap_disable_sock(sk)' handles the case where sk is NULL, so there
> is no need to test it before calling the function.
>
> This saves a few line of code.
>
> Signed-off-by: Christophe JAILLET <christophe.jaillet@...adoo.fr>
Applied to net-next.
Powered by blists - more mailing lists