Re: [PATCH net-next] net/core: fix for_each_netdev_feature

From: David Miller
Date: Tue Nov 03 2015 - 11:35:09 EST


From: Jarod Wilson <jarod@xxxxxxxxxx>
Date: Tue, 3 Nov 2015 10:15:59 -0500

> As pointed out by Nikolay and further explained by Geert, the initial
> for_each_netdev_feature macro was broken, as feature would get set outside
> of the block of code it was intended to run in, thus only ever working for
> the first feature bit in the mask. While less pretty this way, this is
> tested and confirmed functional with multiple feature bits set in
> NETIF_F_UPPER_DISABLES.
...
> Fixes: fd867d51f ("net/core: generic support for disabling netdev features down stack")
...
> Signed-off-by: Jarod Wilson <jarod@xxxxxxxxxx>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/