cpsw: Hook up default ndo_change_mtu.
authorDavid S. Miller <davem@davemloft.net>
Tue, 20 Mar 2012 04:33:59 +0000 (00:33 -0400)
committerDavid S. Miller <davem@davemloft.net>
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 c68c9d96312edb5656b68d23ab5d06fa9b93fc92..6685bbb5705a93ff659d5429578ac7e0203bcbb9 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