From: Ben Hutchings Date: Tue, 3 Jan 2012 11:59:30 +0000 (+0000) Subject: gianfar: Reject out-of-range RX NFC locations X-Git-Tag: v3.3-rc1~182^2~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a73e49caa75928149ea54f570f8afb5f6f4774d;p=pandora-kernel.git 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 Acked-by: Sebastian Pöhn Signed-off-by: David S. Miller --- Reading git-diff-tree failed