Commit 52255bbe authored by Stephen Hemminger's avatar Stephen Hemminger Committed by David S. Miller

netdev: missing validate_address hooks

Some devices were converted incorrectly and are missing the validate
address hooks.
Signed-off-by: default avatarStephen Hemminger <shemminger@vyatta.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent fe96aaa1
...@@ -460,6 +460,7 @@ static const struct net_device_ops ace_netdev_ops = { ...@@ -460,6 +460,7 @@ static const struct net_device_ops ace_netdev_ops = {
.ndo_get_stats = ace_get_stats, .ndo_get_stats = ace_get_stats,
.ndo_start_xmit = ace_start_xmit, .ndo_start_xmit = ace_start_xmit,
.ndo_set_multicast_list = ace_set_multicast_list, .ndo_set_multicast_list = ace_set_multicast_list,
.ndo_validate_addr = eth_validate_addr,
.ndo_set_mac_address = ace_set_mac_addr, .ndo_set_mac_address = ace_set_mac_addr,
.ndo_change_mtu = ace_change_mtu, .ndo_change_mtu = ace_change_mtu,
#if ACENIC_DO_VLAN #if ACENIC_DO_VLAN
......
...@@ -1357,6 +1357,7 @@ static const struct net_device_ops ks8695_netdev_ops = { ...@@ -1357,6 +1357,7 @@ static const struct net_device_ops ks8695_netdev_ops = {
.ndo_start_xmit = ks8695_start_xmit, .ndo_start_xmit = ks8695_start_xmit,
.ndo_tx_timeout = ks8695_timeout, .ndo_tx_timeout = ks8695_timeout,
.ndo_set_mac_address = ks8695_set_mac, .ndo_set_mac_address = ks8695_set_mac,
.ndo_validate_addr = eth_validate_addr,
.ndo_set_multicast_list = ks8695_set_multicast, .ndo_set_multicast_list = ks8695_set_multicast,
}; };
......
...@@ -952,6 +952,7 @@ static const struct net_device_ops mlx4_netdev_ops = { ...@@ -952,6 +952,7 @@ static const struct net_device_ops mlx4_netdev_ops = {
.ndo_get_stats = mlx4_en_get_stats, .ndo_get_stats = mlx4_en_get_stats,
.ndo_set_multicast_list = mlx4_en_set_multicast, .ndo_set_multicast_list = mlx4_en_set_multicast,
.ndo_set_mac_address = mlx4_en_set_mac, .ndo_set_mac_address = mlx4_en_set_mac,
.ndo_validate_addr = eth_validate_addr,
.ndo_change_mtu = mlx4_en_change_mtu, .ndo_change_mtu = mlx4_en_change_mtu,
.ndo_tx_timeout = mlx4_en_tx_timeout, .ndo_tx_timeout = mlx4_en_tx_timeout,
.ndo_vlan_rx_register = mlx4_en_vlan_rx_register, .ndo_vlan_rx_register = mlx4_en_vlan_rx_register,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment