Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 251652
b: refs/heads/master
c: f11970e
h: refs/heads/master
v: v3
  • Loading branch information
Neil Horman authored and David S. Miller committed May 25, 2011
1 parent e40cdf0 commit bf3f35e
Show file tree
Hide file tree
Showing 2 changed files with 8 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: 6dcbbe25dcc9bd2bdeb4f685f8fb874ffc10e6be
refs/heads/master: f11970e383acd6f505f492f1bc07fb1a4d884829
7 changes: 7 additions & 0 deletions trunk/net/core/dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -1308,6 +1308,13 @@ void dev_disable_lro(struct net_device *dev)
{
u32 flags;

/*
* If we're trying to disable lro on a vlan device
* use the underlying physical device instead
*/
if (is_vlan_dev(dev))
dev = vlan_dev_real_dev(dev);

if (dev->ethtool_ops && dev->ethtool_ops->get_flags)
flags = dev->ethtool_ops->get_flags(dev);
else
Expand Down

0 comments on commit bf3f35e

Please sign in to comment.