diff options
-rw-r--r-- | net/core/dev.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/net/core/dev.c b/net/core/dev.c index 60c51f765887..abef86ec4cb0 100644 --- a/net/core/dev.c +++ b/net/core/dev.c | |||
@@ -4663,6 +4663,12 @@ int netdev_compute_features(unsigned long all, unsigned long one) | |||
4663 | one |= NETIF_F_GSO_SOFTWARE; | 4663 | one |= NETIF_F_GSO_SOFTWARE; |
4664 | one |= NETIF_F_GSO; | 4664 | one |= NETIF_F_GSO; |
4665 | 4665 | ||
4666 | /* | ||
4667 | * If even one device supports a GSO protocol with software fallback, | ||
4668 | * enable it for all. | ||
4669 | */ | ||
4670 | all |= one & NETIF_F_GSO_SOFTWARE; | ||
4671 | |||
4666 | /* If even one device supports robust GSO, enable it for all. */ | 4672 | /* If even one device supports robust GSO, enable it for all. */ |
4667 | if (one & NETIF_F_GSO_ROBUST) | 4673 | if (one & NETIF_F_GSO_ROBUST) |
4668 | all |= NETIF_F_GSO_ROBUST; | 4674 | all |= NETIF_F_GSO_ROBUST; |