]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
netfilter: nfnl_cthelper: fix runtime expectation policy updates
authorPablo Neira Ayuso <pablo@netfilter.org>
Tue, 21 Mar 2017 12:32:37 +0000 (13:32 +0100)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Tue, 13 Mar 2018 10:28:56 +0000 (11:28 +0100)
commit19a6d6fe7afef238e2ef41d89de34f2fa47afcdf
tree10388c4053939fd3c8227cfbd6bb04608126e183
parent6f7e0a9d8eba0cdc38eba33577967c8319643063
netfilter: nfnl_cthelper: fix runtime expectation policy updates

BugLink: http://bugs.launchpad.net/bugs/1745054
[ Upstream commit 2c422257550f123049552b39f7af6e3428a60f43 ]

We only allow runtime updates of expectation policies for timeout and
maximum number of expectations, otherwise reject the update.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Acked-by: Liping Zhang <zlpnobody@gmail.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
net/netfilter/nfnetlink_cthelper.c