Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 111441
b: refs/heads/master
c: 9bff9db
h: refs/heads/master
i:
  111439: f0a6775
v: v3
  • Loading branch information
David S. Miller committed Sep 8, 2008
1 parent 63b0464 commit 5585894
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d10c4ec8b4bc02f3874c7ef3c3539e4e7e123969
refs/heads/master: 9bff9dbd00e5907f5c36e72bae8aee8a46440e11
6 changes: 6 additions & 0 deletions trunk/net/core/dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -4663,6 +4663,12 @@ int netdev_compute_features(unsigned long all, unsigned long one)
one |= NETIF_F_GSO_SOFTWARE;
one |= NETIF_F_GSO;

/*
* If even one device supports a GSO protocol with software fallback,
* enable it for all.
*/
all |= one & NETIF_F_GSO_SOFTWARE;

/* If even one device supports robust GSO, enable it for all. */
if (one & NETIF_F_GSO_ROBUST)
all |= NETIF_F_GSO_ROBUST;
Expand Down

0 comments on commit 5585894

Please sign in to comment.