netfilter: nft_compat: fix wrong target lookup in nft_target_select_ops()
authorArturo Borrero <arturo.borrero.glez@gmail.com>
Sun, 26 Oct 2014 11:22:40 +0000 (12:22 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 27 Oct 2014 21:17:46 +0000 (22:17 +0100)
commit7965ee93719921ea5978f331da653dfa2d7b99f5
treed21cb5c85e97c858da484150ae34dd3fd6447107
parentb51d3fa364885a2c1e1668f88776c67c95291820
netfilter: nft_compat: fix wrong target lookup in nft_target_select_ops()

The code looks for an already loaded target, and the correct list to search
is nft_target_list, not nft_match_list.

Signed-off-by: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nft_compat.c