diff options
| author | 2012-03-20 00:33:59 -0400 | |
|---|---|---|
| committer | 2012-03-20 00:33:59 -0400 | |
| commit | 5c473ed26dba609622c9a625f896f8f59d86066c (patch) | |
| tree | ea455d5791f56108db322aaddef03361cd310d99 /drivers/net/ethernet/ti/cpsw.c | |
| parent | net: qmi_wwan: fix build error due to cdc-wdm dependecy (diff) | |
| download | wireguard-linux-5c473ed26dba609622c9a625f896f8f59d86066c.tar.xz wireguard-linux-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 '')
| -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 c68c9d96312e..6685bbb5705a 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 |
