Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 214555
b: refs/heads/master
c: 16c3ea7
h: refs/heads/master
i:
  214553: 1408450
  214551: 8963fbc
v: v3
  • Loading branch information
Brandon Philips authored and David S. Miller committed Sep 16, 2010
1 parent 6fbe7dc commit 491662e
Show file tree
Hide file tree
Showing 2 changed files with 6 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: b1cbd5f980863eb97f687baba95850c334c83a47
refs/heads/master: 16c3ea785fe4a383c6675dfe7316f3c815755bdd
5 changes: 5 additions & 0 deletions trunk/net/core/dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -5057,6 +5057,11 @@ int register_netdevice(struct net_device *dev)
if (dev->features & NETIF_F_SG)
dev->features |= NETIF_F_GSO;

/* Enable GRO for vlans by default if dev->features has GRO also.
* vlan_dev_init() will do the dev->features check.
*/
dev->vlan_features |= NETIF_F_GRO;

ret = call_netdevice_notifiers(NETDEV_POST_INIT, dev);
ret = notifier_to_errno(ret);
if (ret)
Expand Down

0 comments on commit 491662e

Please sign in to comment.