]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: ipvs: Use the bitmap API to allocate bitmaps
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Mon, 4 Jul 2022 19:24:46 +0000 (21:24 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 20 Jul 2022 22:55:39 +0000 (00:55 +0200)
commitfc49b7c04c37175a7ed2f9dcf23d30a7d028b5f9
treee1549ba7c6a726ad39beb288d31cd08cec5e8646
parent4891bbf8ce340c9194de0a6551fb09b1724c492e
netfilter: ipvs: Use the bitmap API to allocate bitmaps

Use bitmap_zalloc()/bitmap_free() instead of hand-writing them.

It is less verbose and it improves the semantic.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: Julian Anastasov <ja@ssi.bg>
Acked-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/ipvs/ip_vs_mh.c