|
@@ -6721,6 +6721,10 @@ static netdev_features_t netdev_fix_features(struct net_device *dev,
|
|
|
features &= ~NETIF_F_TSO6;
|
|
|
}
|
|
|
|
|
|
+ /* TSO with IPv4 ID mangling requires IPv4 TSO be enabled */
|
|
|
+ if ((features & NETIF_F_TSO_MANGLEID) && !(features & NETIF_F_TSO))
|
|
|
+ features &= ~NETIF_F_TSO_MANGLEID;
|
|
|
+
|
|
|
/* TSO ECN requires that TSO is present as well. */
|
|
|
if ((features & NETIF_F_ALL_TSO) == NETIF_F_TSO_ECN)
|
|
|
features &= ~NETIF_F_TSO_ECN;
|