net: fix dev_set_promiscuity() breakage
authorPatrick McHardy <kaber@trash.net>
Sun, 6 Jul 2008 22:49:08 +0000 (15:49 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 6 Jul 2008 22:49:08 +0000 (15:49 -0700)
commit4b5a698ef423eebc37cfacc6d3376d6dffd5bf83
treefc887610dc023d19c9abbe7189a5719ee35c7f67
parentfb0305ce1b03f6ff17f84f2c63daccecb45f2805
net: fix dev_set_promiscuity() breakage

Commit dad9b335 (netdevice: Fix promiscuity and allmulti overflow) broke
dev_set_promiscuity() by returning on success without reprogramming the
device.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c