diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2012-01-03 11:59:30 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-01-04 14:09:10 -0500 |
commit | 3a73e49caa75928149ea54f570f8afb5f6f4774d (patch) | |
tree | d8e61c5056c497690ec5d0bddfcfce0d8180f916 /net/socket.c | |
parent | 6386994e03ebbe60338ded3d586308a41e81c0dc (diff) |
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: Ben Hutchings <bhutchings@solarflare.com>
Acked-by: Sebastian Pöhn <sebastian.poehn@googlemail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/socket.c')
0 files changed, 0 insertions, 0 deletions