Skip to content
Commit b2762d13 authored by Linkui Xiao's avatar Linkui Xiao Committed by Greg Kroah-Hartman
Browse files

netfilter: nf_conntrack_bridge: initialize err to 0



[ Upstream commit a44af08e ]

K2CI reported a problem:

	consume_skb(skb);
	return err;
[nf_br_ip_fragment() error]  uninitialized symbol 'err'.

err is not initialized, because returning 0 is expected, initialize err
to 0.

Fixes: 3c171f49 ("netfilter: bridge: add connection tracking system")
Reported-by: default avatark2ci <kernel-bot@kylinos.cn>
Signed-off-by: default avatarLinkui Xiao <xiaolinkui@kylinos.cn>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent fd51e754
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment