]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nf_tables: fix wrong type in transaction when replacing rules
authorPablo Neira Ayuso <pablo@netfilter.org>
Tue, 10 Jun 2014 08:53:03 +0000 (10:53 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 16 Jun 2014 11:07:58 +0000 (13:07 +0200)
commit3bdbb240b0566a879dfe3ea9e87b6d891af3d3cd
tree3f6b6d001eaa9e8aeac84b7075513bfaa54f181b
parent28c8811443c3bb25de2d34337de9378cd4f70359
netfilter: nf_tables: fix wrong type in transaction when replacing rules

In 1d3c3c6 ("netfilter: nf_tables: add message type to transactions"),
I used the wrong message type in the rule replacement case. The rule
that is replaced needs to be handled as a deleted rule.

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