Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 256308
b: refs/heads/master
c: 1180e7d
h: refs/heads/master
v: v3
  • Loading branch information
Michał Mirosław authored and David S. Miller committed Jul 14, 2011
1 parent c48bf08 commit 189a2d4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6c9c1b5456e3ba0b4a1a43866600e84bbba0db12
refs/heads/master: 1180e7d6599c1fb0c56a23a649a3eb37d877b9d0
7 changes: 2 additions & 5 deletions trunk/net/core/dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -5488,12 +5488,9 @@ int register_netdevice(struct net_device *dev)
dev->features |= NETIF_F_NOCACHE_COPY;
}

/* Enable GSO, GRO and NETIF_F_HIGHDMA for vlans by default,
* vlan_dev_fix_features() will do the features check,
* so NETIF_F_HIGHDMA feature is enabled only if supported
* by underlying device.
/* Make NETIF_F_HIGHDMA inheritable to VLAN devices.
*/
dev->vlan_features |= (NETIF_F_SOFT_FEATURES | NETIF_F_HIGHDMA);
dev->vlan_features |= NETIF_F_HIGHDMA;

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

0 comments on commit 189a2d4

Please sign in to comment.