gianfar: Reject out-of-range RX NFC locations
Currently the driver only uses location values to maintain an ordered list of filters. Make it reject location values >= MAX_FILER_IDX passed to the ETHTOOL_SRXCLSRLINS command, consistent with the range it reports for the ETHTOOL_GRXCLSRLALL command. Signed-off-by: NBen Hutchings <bhutchings@solarflare.com> Acked-by: NSebastian Pöhn <sebastian.poehn@googlemail.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录