netfilter: conntrack: get rid of double sizeof
authorzhong jiang <zhongjiang@huawei.com>
Wed, 19 Sep 2018 12:21:11 +0000 (20:21 +0800)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 20 Sep 2018 16:40:32 +0000 (18:40 +0200)
commit346fa83d10934cf206e2fd0f514bf8ce186f08fe
tree6534e551289e45dea494d29977e1ffbf1507585a
parentbab4344975fe2c719eda32de59298d6de26fe126
netfilter: conntrack: get rid of double sizeof

sizeof(sizeof()) is quite strange and does not seem to be what
is wanted here.

The issue is detected with the help of Coccinelle.

Fixes: 39215846740a ("netfilter: conntrack: remove nlattr_size pointer from l4proto trackers")
Signed-off-by: zhong jiang <zhongjiang@huawei.com>
Acked-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_conntrack_proto_tcp.c