Thread (17 messages) flat view 17 messages, 4 authors, 2021-03-29

Re: [PATCH net-next 4/6] ethtool: fec: sanitize ethtool_fecparam->active_fec

From: Andrew Lunn <andrew@lunn.ch>
Date: 2021-03-25 12:26:55

On Wed, Mar 24, 2021 at 06:11:58PM -0700, Jakub Kicinski wrote:
struct ethtool_fecparam::active_fec is a GET-only field,
all in-tree drivers correctly ignore it on SET. Clear
the field on SET to avoid any confusion. Again, we can't
reject non-zero now since ethtool user space does not
zero-init the param correctly.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help