nbd: allow genl access outside init_net
authorJakub Kicinski <kuba@kernel.org>
Fri, 24 Feb 2023 02:13:00 +0000 (18:13 -0800)
committerJens Axboe <axboe@kernel.dk>
Tue, 14 Mar 2023 20:17:13 +0000 (14:17 -0600)
commit9195b317f1b62e9efd67d8702c920156135a81b5
treef09d713f1af9b3e961361536c051d2f51149c9da
parenteeac8ede17557680855031c6f305ece2378af326
nbd: allow genl access outside init_net

NBD doesn't have much to do with networking, allow users outside
init_net to access the family.

Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Link: https://lore.kernel.org/r/20230224021301.1630703-1-kuba@kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/nbd.c