Patchwork : Fix missing operation in spider_net

login
register
mail settings
Submitter David Miller
Date March 23, 2009, 9:43 p.m.
Message ID <20090323.144325.34375219.davem@davemloft.net>
Download mbox | patch
Permalink /patch/24929/
State Accepted
Delegated to: David Miller
Headers show

Comments

David Miller - March 23, 2009, 9:43 p.m.
Stephen's review of my sparc driver conversions made me
remember that spider_net missed one of these as well.

Fixed thusly:

spider_net: Add missing .ndo_validate_addr

Signed-off-by: David S. Miller <davem@davemloft.net>
---
 drivers/net/spider_net.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Patch

diff --git a/drivers/net/spider_net.c b/drivers/net/spider_net.c
index 0288054..90e663f 100644
--- a/drivers/net/spider_net.c
+++ b/drivers/net/spider_net.c
@@ -2268,6 +2268,7 @@  static const struct net_device_ops spider_net_ops = {
 	.ndo_change_mtu		= spider_net_change_mtu,
 	.ndo_do_ioctl		= spider_net_do_ioctl,
 	.ndo_tx_timeout		= spider_net_tx_timeout,
+	.ndo_validate_addr	= eth_validate_addr,
 	/* HW VLAN */
 #ifdef CONFIG_NET_POLL_CONTROLLER
 	/* poll controller */