cpsw: Hook up default ndo_change_mtu.
David S. Miller [Tue, 20 Mar 2012 04:33:59 +0000 (00:33 -0400)]
Reported-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

drivers/net/ethernet/ti/cpsw.c

index c68c9d9..6685bbb 100644 (file)
@@ -665,6 +665,7 @@ static const struct net_device_ops cpsw_netdev_ops = {
        .ndo_start_xmit         = cpsw_ndo_start_xmit,
        .ndo_change_rx_flags    = cpsw_ndo_change_rx_flags,
        .ndo_validate_addr      = eth_validate_addr,
+       .ndo_change_mtu         = eth_change_mtu,
        .ndo_tx_timeout         = cpsw_ndo_tx_timeout,
        .ndo_get_stats          = cpsw_ndo_get_stats,
 #ifdef CONFIG_NET_POLL_CONTROLLER