]> git.itanic.dy.fi Git - linux-stable/commit
ipvlan: Remove usage of the deprecated ida_simple_xx() API
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Fri, 5 Jan 2024 09:27:09 +0000 (10:27 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 7 Jan 2024 22:32:48 +0000 (22:32 +0000)
commit3ee29a4474e3e433268068a6e6337d4f635b79b7
treea1670a848a3357bbf6eb87de0ef3873cec5a0936
parente900274f27c37de76279e34e342847d7b5756bec
ipvlan: Remove usage of the deprecated ida_simple_xx() API

ida_alloc() and ida_free() should be preferred to the deprecated
ida_simple_get() and ida_simple_remove().

This is less verbose.

Note that the upper bound of ida_alloc_range() is inclusive while the one
of ida_simple_get() was exclusive. So calls have been updated accordingly.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ipvlan/ipvlan_main.c