Skip to content

Commit cf55612

Browse files
Cathy Zhoudavem330
authored andcommitted
sunvnet: does not support GSO for sctp
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]> Signed-off-by: David S. Miller <[email protected]>
1 parent 4ea41f8 commit cf55612

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ethernet/sun/sunvnet.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ static struct vnet *vnet_new(const u64 *local_mac,
312312
dev->ethtool_ops = &vnet_ethtool_ops;
313313
dev->watchdog_timeo = VNET_TX_TIMEOUT;
314314

315-
dev->hw_features = NETIF_F_TSO | NETIF_F_GSO | NETIF_F_GSO_SOFTWARE |
315+
dev->hw_features = NETIF_F_TSO | NETIF_F_GSO | NETIF_F_ALL_TSO |
316316
NETIF_F_HW_CSUM | NETIF_F_SG;
317317
dev->features = dev->hw_features;
318318

0 commit comments

Comments
 (0)