netfilter: nf_tables: __nft_expr_type_get() selects specific family type
authorPablo Neira Ayuso <pablo@netfilter.org>
Fri, 5 Jul 2019 20:59:05 +0000 (22:59 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 5 Jul 2019 21:50:45 +0000 (23:50 +0200)
commit9cff126f73a7025bcb0883189b2bed90010a57d4
treeeb475d51454e922f826add62dd57b48074293139
parentb9c04ae7907f09c5e873e7c9a8feea2ce41e15b3
netfilter: nf_tables: __nft_expr_type_get() selects specific family type

In case that there are two types, prefer the family specify extension.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_tables_api.c