]> git.baikalelectronics.ru Git - kernel.git/commit
gianfar: correct filer table writing
authorJakub Kicinski <kubakici@wp.pl>
Wed, 12 Aug 2015 00:41:55 +0000 (02:41 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Aug 2015 21:47:05 +0000 (14:47 -0700)
commite1054d6d4ffaf38bc2d74e279c677867355deadd
treefad2943f4ea6c8d2d5fa72a0b4597308ed4dad73
parente18e9f3726373d937483c41229a1f6e6d70ac922
gianfar: correct filer table writing

MAX_FILER_IDX is the last usable index.  Using less-than
will already guarantee that one entry for catch-all rule
will be left, no need to subtract 1 here.

Signed-off-by: Jakub Kicinski <kubakici@wp.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/gianfar_ethtool.c