]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: flowtable: populate addr_type mask
authorEdward Cree <ecree@solarflare.com>
Thu, 19 Mar 2020 19:37:21 +0000 (19:37 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 19 Mar 2020 20:20:04 +0000 (21:20 +0100)
commitd1dc52b40431c907202fa5c89a745b601e244c92
tree49ac53e8ea9348653b7a008e213ed6c88a397540
parentec838bd0ef02ce582954ebf7c4fdb5e4dd60342f
netfilter: flowtable: populate addr_type mask

nf_flow_rule_match() sets control.addr_type in key, so needs to also set
 the corresponding mask.  An exact match is wanted, so mask is all ones.

Fixes: 3029814930c4 ("netfilter: nf_flow_table: hardware offload support")
Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_flow_table_offload.c