]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
netfilter: cttimeout: remove superfluous check on layer 4 netlink functions
authorPablo Neira Ayuso <pablo@netfilter.org>
Tue, 11 Sep 2018 00:31:11 +0000 (02:31 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 17 Sep 2018 14:11:14 +0000 (16:11 +0200)
commit4430b897a2063c44462e8cea3293ebb5851d9cfd
treebc52e66c90a377314f38fc6bc6dc3a532d12306b
parent7052ba408019e49301a6ebec9866046838a5b1e2
netfilter: cttimeout: remove superfluous check on layer 4 netlink functions

We assume they are always set accordingly since a874752a10da
("netfilter: conntrack: timeout interface depend on
CONFIG_NF_CONNTRACK_TIMEOUT"), so we can get rid of this checks.

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