netfilter: ctnetlink: Make some parameters integer to avoid enum mismatch
authorMatthias Kaehlcke <mka@chromium.org>
Wed, 19 Apr 2017 18:39:20 +0000 (11:39 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 8 Apr 2018 10:12:46 +0000 (12:12 +0200)
commit3e8f962da78c89b96c7ed718d77e35a1caf469da
tree32615a02659d6adc9686cb6611abb84dcbb97404
parente6061c11c3b5a8f1bba97bfe3cd1af5f95cfca95
netfilter: ctnetlink: Make some parameters integer to avoid enum mismatch

commit a2b7cbdd2559aff06cebc28a7150f81c307a90d3 upstream.

Not all parameters passed to ctnetlink_parse_tuple() and
ctnetlink_exp_dump_tuple() match the enum type in the signatures of these
functions. Since this is intended change the argument type of to be an
unsigned integer value.

Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Cc: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/netfilter/nf_conntrack_netlink.c