Files
twx-linux/drivers
Xin Long 6773caa6ac bonding: process the err returned by dev_set_allmulti properly in bond_enslave
[ Upstream commit 9f5a90c107 ]

When dev_set_promiscuity(1) succeeds but dev_set_allmulti(1) fails,
dev_set_promiscuity(-1) should be done before going to the err path.
Otherwise, dev->promiscuity will leak.

Fixes: 7e1a1ac1fb ("bonding: Check return of dev_set_promiscuity/allmulti")
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Acked-by: Andy Gospodarek <andy@greyhouse.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-04-13 19:50:26 +02:00
..
…
2017-12-16 10:33:55 +01:00
…
…
…
…
…
…
2018-03-22 09:23:27 +01:00
2018-02-25 11:03:46 +01:00
2018-03-24 10:58:41 +01:00
…
2018-02-25 11:03:51 +01:00
2018-04-13 19:50:01 +02:00
2018-04-13 19:50:16 +02:00
…
…
…
…
…
…
2018-04-13 19:50:21 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…