Re: [PATCH] gtp: simplify error handling code in 'gtp_encap_enable()'
6 Jan
2020
6 Jan
'20
9:59 a.m.
On Sun, Jan 05, 2020 at 06:36:07PM +0100, Christophe JAILLET wrote:
'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@wanadoo.fr>
Reviewed-by: Simon Horman <simon.horman@netronome.com>
6 Jan
6 Jan
10:46 p.m.
New subject: [PATCH] gtp: simplify error handling code in 'gtp_encap_enable()'
From: Christophe JAILLET <christophe.jaillet@wanadoo.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@wanadoo.fr>
Applied to net-next.
2502
Age (days ago)
2502
Last active (days ago)
1 comments
2 participants
participants (2)
-
David Miller -
Simon Horman