sunvnet: does not support GSO for sctp
Subsystems (2)
PATCH 1/1 sunvnet: does not support GSO for sctp
From: Cathy Zhou <[email protected]>
The NETIF_F_GSO_SOFTWARE implies support for GSO on SCTP, but the sunvnet driver does not support GSO for sctp. Here we remove the NETIF_F_GSO_SOFTWARE feature flag and only report NETIF_F_ALL_TSO instead.
Signed-off-by Cathy Zhou <[email protected]>
Signed-off-by Shannon Nelson <[email protected]>
--- drivers/net/ethernet/sun/sunvnet.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/net/ethernet/sun/sunvnet.c +1 -1
@@ -312,7 +312,7 @@ static void vnet_poll_controller(struct net_device *dev) dev->ethtool_ops = &vnet_ethtool_ops; dev->watchdog_timeo =VNET_TX_TIMEOUT ; - dev->hw_features =NETIF_F_TSO |NETIF_F_GSO |NETIF_F_GSO_SOFTWARE | + dev->hw_features =NETIF_F_TSO |NETIF_F_GSO |NETIF_F_ALL_TSO |NETIF_F_HW_CSUM |NETIF_F_SG ; dev->features = dev->hw_features;
Signature · 1 line
1.7.1
David Miller
maintainerFrom: [email protected]
Date: Wed, 14 Mar 2018 10:56:07 -0700
Quoted 9 lines
From: Cathy Zhou <[email protected]>
The
NETIF_F_GSO_SOFTWAREimplies support for GSO on SCTP, but the sunvnet driver does not support GSO for sctp. Here we remove theNETIF_F_GSO_SOFTWAREfeature flag and only reportNETIF_F_ALL_TSOinstead.Signed-off-by Cathy Zhou <[email protected]>Signed-off-by Shannon Nelson <[email protected]>
Since this is a bug fix I'm applying this to the 'net' tree.
Thanks.