Files
twx-linux/include/linux
Tariq Toukan f574eb88b7 net: Fix features skip in for_each_netdev_feature()
[ Upstream commit 85db6352fc ]

The find_next_netdev_feature() macro gets the "remaining length",
not bit index.
Passing "bit - 1" for the following iteration is wrong as it skips
the adjacent bit. Pass "bit" instead.

Fixes: 3b89ea9c59 ("net: Fix for_each_netdev_feature on Big endian")
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Gal Pressman <gal@nvidia.com>
Link: https://lore.kernel.org/r/20220504080914.1918-1-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-05-18 09:15:42 +02:00
..
2019-11-25 09:53:14 +01:00
2021-12-08 08:45:06 +01:00
2021-12-08 08:45:06 +01:00
2021-02-03 23:19:50 +01:00
2021-03-30 14:41:41 +02:00
2020-04-02 17:20:40 +02:00
2021-11-26 11:48:18 +01:00
2022-01-27 08:47:43 +01:00
2021-07-11 12:46:40 +02:00
2020-11-18 18:26:29 +01:00
2020-03-20 09:07:43 +01:00
2020-04-02 17:20:39 +02:00
2020-12-11 13:38:00 +01:00
2020-04-02 17:20:39 +02:00
2021-12-14 10:04:48 +01:00