summaryrefslogtreecommitdiffstats
path: root/net/wireless/ibss.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2019-04-24 22:18:53 +0200
committerDavid S. Miller <davem@davemloft.net>2019-04-26 11:59:58 -0400
commit4e43df38a2e6c876d3c8ecc4196ed67a895c425d (patch)
tree766d8b19f5cbd48926efce04fda517e1554b8ad8 /net/wireless/ibss.c
parent88ef66a28391ea7b624bfb7508a5b015c13b28f3 (diff)
downloadlinux-4e43df38a2e6c876d3c8ecc4196ed67a895c425d.tar.bz2
genetlink: use idr_alloc_cyclic for family->id assignment
When allocating the next family->id it makes more sense to use idr_alloc_cyclic to avoid re-using a previously used family->id as much as possible. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/wireless/ibss.c')
0 files changed, 0 insertions, 0 deletions