]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit636d5ab6884854e0a1d500d50acea8128ac80b6e
tree16fd95b13facc9af3ae2949b037c3c9e25ed859a
parent51a1d98e4d988a4e9bbf71f135e81e1b209d144d
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