]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nf_tables: skip transaction if no update flags in tables
authorPablo Neira Ayuso <pablo@netfilter.org>
Fri, 27 Jun 2014 16:51:39 +0000 (18:51 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 30 Jun 2014 09:44:24 +0000 (11:44 +0200)
commit2434e6fd4653b236979c769800f26d5c9a153702
tree4ea57690fa3009f5737fbab3385b595f518844c1
parentd214c67ab882fcf11fa8c8716d97ffc4d8d9d8d5
netfilter: nf_tables: skip transaction if no update flags in tables

Skip transaction handling for table updates with no changes in
the flags. This fixes a crash when passing the table flag with all
bits unset.

Reported-by: Ana Rey <anarey@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_tables_api.c