Re: [PATCH net-next v2] af_packet: refactoring code for prb_calc_retire_blk_tmo
From: David Miller
Date: Thu Dec 26 2019 - 18:20:20 EST
From: Mao Wenan <maowenan@xxxxxxxxxx>
Date: Mon, 23 Dec 2019 18:42:57 +0800
> If __ethtool_get_link_ksettings() is failed and with
> non-zero value, prb_calc_retire_blk_tmo() should return
> DEFAULT_PRB_RETIRE_TOV firstly.
>
> This patch is to refactory code and make it more readable.
>
> Signed-off-by: Mao Wenan <maowenan@xxxxxxxxxx>
Applied, thanks.