diff options
author | Jakub Kicinski <kuba@kernel.org> | 2020-10-05 15:07:37 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-10-06 06:25:55 -0700 |
commit | ddcf3b70c5ae8444e920d28e30e7ad4e866c8015 (patch) | |
tree | 37b80b5548642d33d52980fa928628650677dda8 /lib | |
parent | 329d9c333ee4a904341d555b72cd6218f4104d53 (diff) | |
download | linux-ddcf3b70c5ae8444e920d28e30e7ad4e866c8015.tar.bz2 |
netlink: create helpers for checking type is an int
There's a number of policies which check if type is a uint or sint.
Factor the checking against the list of value sizes to a helper
for easier reuse.
v2: - new patch
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions