]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nf_conntrack: checking for IS_ERR() instead of NULL
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 27 Jul 2015 22:42:28 +0000 (01:42 +0300)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 30 Jul 2015 12:04:19 +0000 (14:04 +0200)
commit83ce3eabfb709caebfe2a1648d4e517b6b0a54be
tree4a0585e14941dc91814562ee67fe978533c720b0
parent7a2023587353b363753a4835ccf7cffbd46f74b1
netfilter: nf_conntrack: checking for IS_ERR() instead of NULL

We recently changed this from nf_conntrack_alloc() to nf_ct_tmpl_alloc()
so the error handling needs to changed to check for NULL instead of
IS_ERR().

Fixes: 2dcfe612d84c ('netfilter: fix netns dependencies with conntrack templates')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_synproxy_core.c
net/netfilter/xt_CT.c