Files
Linux/net
Jakub Kicinski ceaac91dcd net: make sure we never create ifindex = 0
Instead of allocating from 1 use proper xa_init flag,
to protect ourselves from IDs wrapping back to 0.

Fixes: 759ab1edb5 ("net: store netdevs in an xarray")
Reported-by: Stephen Hemminger <[email protected]>
Link: https://lore.kernel.org/all/[email protected]/
Reviewed-by: Leon Romanovsky <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
2023-08-01 15:01:29 -07:00
..
…
…
2023-05-31 13:06:57 +02:00
…
…
…
…
…
…
…