net/sched: fix miss init the mru in qdisc_skb_cb
authorwenxu <wenxu@ucloud.cn>
Wed, 25 Nov 2020 04:01:21 +0000 (12:01 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Feb 2021 14:53:23 +0000 (15:53 +0100)
commit496ef46dbf6dcc432597f53af7be92c6a41dabec
tree731498859c8254374484a7176baedc652790dd22
parent40bf5450ba6fb587b54a9e19abc41412c8f8b825
net/sched: fix miss init the mru in qdisc_skb_cb

[ Upstream commit aadaca9e7c392dbf877af8cefb156199f1a67bbe ]

The mru in the qdisc_skb_cb should be init as 0. Only defrag packets in the
act_ct will set the value.

Fixes: 038ebb1a713d ("net/sched: act_ct: fix miss set mru for ovs after defrag in act_ct")
Signed-off-by: wenxu <wenxu@ucloud.cn>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/core/dev.c