Skip to content
Commit a2a0ffb0 authored by Christophe JAILLET's avatar Christophe JAILLET Committed by Florian Westphal
Browse files

netfilter: nft_set_pipapo: Use struct_size()



Use struct_size() instead of hand writing it.
This is less verbose and more informative.

Signed-off-by: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: default avatarSimon Horman <simon.horman@corigine.com>
Signed-off-by: default avatarFlorian Westphal <fw@strlen.de>
parent 61e03e91
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment