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)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 15 May 2017 10:10:27 +0000 (12:10 +0200)
commita2b7cbdd2559aff06cebc28a7150f81c307a90d3
tree16fd95b13facc9af3ae2949b037c3c9e25ed859a
parent1c4d5f51a812a82de97beee24f48ed05c65ebda5
netfilter: ctnetlink: Make some parameters integer to avoid enum mismatch

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>
net/netfilter/nf_conntrack_netlink.c