Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 215525
b: refs/heads/master
c: ec37a48
h: refs/heads/master
i:
  215523: 38ec20f
v: v3
  • Loading branch information
Jesse Gross authored and David S. Miller committed Oct 22, 2010
1 parent a2a9e8e commit 1847864
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 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: 0988c4c7fb5881377ec20a6452f739a722e97c6b
refs/heads/master: ec37a48d1d16c30b655ac5280209edf52a6775d4
2 changes: 1 addition & 1 deletion trunk/drivers/net/bnx2.c
Original file line number Diff line number Diff line change
Expand Up @@ -7528,7 +7528,7 @@ bnx2_set_flags(struct net_device *dev, u32 data)

if (!(bp->flags & BNX2_FLAG_CAN_KEEP_VLAN) &&
!(data & ETH_FLAG_RXVLAN))
return -EOPNOTSUPP;
return -EINVAL;

rc = ethtool_op_set_flags(dev, data, ETH_FLAG_RXHASH | ETH_FLAG_RXVLAN |
ETH_FLAG_TXVLAN);
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/net/bnx2x/bnx2x_ethtool.c
Original file line number Diff line number Diff line change
Expand Up @@ -1123,7 +1123,7 @@ static int bnx2x_set_flags(struct net_device *dev, u32 data)
}

if (!(data & ETH_FLAG_RXVLAN))
return -EOPNOTSUPP;
return -EINVAL;

if ((data & ETH_FLAG_LRO) && bp->rx_csum && bp->disable_tpa)
return -EINVAL;
Expand Down

0 comments on commit 1847864

Please sign in to comment.