diff options
author | David S. Miller <davem@davemloft.net> | 2012-03-20 00:33:59 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-03-20 00:33:59 -0400 |
commit | 5c473ed26dba609622c9a625f896f8f59d86066c (patch) | |
tree | ea455d5791f56108db322aaddef03361cd310d99 /drivers/net/ethernet | |
parent | 74cba4a85e92650f29be0e2d2ba1c282002d1168 (diff) | |
download | linux-3.10-5c473ed26dba609622c9a625f896f8f59d86066c.tar.gz linux-3.10-5c473ed26dba609622c9a625f896f8f59d86066c.tar.bz2 linux-3.10-5c473ed26dba609622c9a625f896f8f59d86066c.zip |
cpsw: Hook up default ndo_change_mtu.
Reported-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet')
-rw-r--r-- | drivers/net/ethernet/ti/cpsw.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/ti/cpsw.c b/drivers/net/ethernet/ti/cpsw.c index c68c9d96312..6685bbb5705 100644 --- a/drivers/net/ethernet/ti/cpsw.c +++ b/drivers/net/ethernet/ti/cpsw.c @@ -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 |