netfilter: nft_ct: make l3 protocol field optional for timeout object
authorHarsha Sharma <harshasharmaiitr@gmail.com>
Fri, 10 Aug 2018 17:22:37 +0000 (22:52 +0530)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 16 Aug 2018 17:37:08 +0000 (19:37 +0200)
commit3206c516ce4e4b56d7b99341814c261ec190f6df
tree3d7a31ef5feebf253ca60386645a76e1069b75c2
parent1bfc2bc7ad8ac045045e99e33aa1ba727d2d291d
netfilter: nft_ct: make l3 protocol field optional for timeout object

If l3 protocol value is not specified for ct timeout object then use the
value from nft_ctx protocol family.

Signed-off-by: Harsha Sharma <harshasharmaiitr@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nft_ct.c