]> 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)
commit4e352470f31417abdd572a43a08bf35087e831a5
tree3f6b6d001eaa9e8aeac84b7075513bfaa54f181b
parent7e556a133f77f108f9dbf379706ecd45203893f4
netfilter: nf_tables: fix wrong type in transaction when replacing rules

In b9ecb13 ("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