Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 103315
b: refs/heads/master
c: 4b5a698
h: refs/heads/master
i:
  103313: 4efa54a
  103311: a797481
v: v3
  • Loading branch information
Patrick McHardy authored and David S. Miller committed Jul 6, 2008
1 parent 6dc9bd9 commit bb4e8fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: fb0305ce1b03f6ff17f84f2c63daccecb45f2805
refs/heads/master: 4b5a698ef423eebc37cfacc6d3376d6dffd5bf83
2 changes: 1 addition & 1 deletion trunk/net/core/dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -2859,7 +2859,7 @@ int dev_set_promiscuity(struct net_device *dev, int inc)
int err;

err = __dev_set_promiscuity(dev, inc);
if (!err)
if (err < 0)
return err;
if (dev->flags != old_flags)
dev_set_rx_mode(dev);
Expand Down

0 comments on commit bb4e8fd

Please sign in to comment.