Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 3a73e49c authored by Ben Hutchings's avatar Ben Hutchings Committed by David S. Miller
Browse files

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: default avatarBen Hutchings <bhutchings@solarflare.com>
Acked-by: default avatarSebastian Pöhn <sebastian.poehn@googlemail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6386994e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment