]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: mvneta: Remove IFF_UNICAST_FLT which is not implemented
authorAndrew Lunn <andrew@lunn.ch>
Wed, 23 Nov 2016 23:08:13 +0000 (00:08 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 26 Nov 2016 00:56:37 +0000 (19:56 -0500)
commit65a255c3be43cf87521117b776decc6253c1255a
tree2396eb1abdd6bea1126f85a8453011c14efda44f
parentf0b50b0a5917b5001f70c508e905cd1c58fca440
net: ethernet: mvneta: Remove IFF_UNICAST_FLT which is not implemented

The mvneta driver advertises it supports IFF_UNICAST_FLT. However, it
actually does not. The hardware probably does support it, but there is
no code to configure the filter. As a quick and simple fix, remove the
flag. This will cause the core to fall back to promiscuous mode.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Fixes: 894cb813cc99 ("net: mvneta: enable features before registering the driver")
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvneta.c