]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
netfilter: ctnetlink: cleanup conntrack update preliminary checkings
authorPablo Neira Ayuso <pablo@netfilter.org>
Mon, 16 Mar 2009 14:27:22 +0000 (15:27 +0100)
committerPatrick McHardy <kaber@trash.net>
Mon, 16 Mar 2009 14:27:22 +0000 (15:27 +0100)
commite098360f159b3358f085543eb6dc2eb500d6667c
tree085ff85d3bb8fa03eed763f1e3f38c71ae580264
parent7ec4749675bf33ea639bbcca8a5365ccc5091a6a
netfilter: ctnetlink: cleanup conntrack update preliminary checkings

This patch moves the preliminary checkings that must be fulfilled
to update a conntrack, which are the following:

 * NAT manglings cannot be updated
 * Changing the master conntrack is not allowed.

This patch is a cleanup.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Patrick McHardy <kaber@trash.net>
net/netfilter/nf_conntrack_netlink.c