]> git.proxmox.com Git - mirror_ovs.git/commit
ipf: Avoid accessing to a freed rp.
authorPeng He <hepeng.0320@bytedance.com>
Tue, 22 Dec 2020 02:47:35 +0000 (10:47 +0800)
committerIlya Maximets <i.maximets@ovn.org>
Wed, 13 Jan 2021 15:05:21 +0000 (16:05 +0100)
commit81158b920f2733690c05b99cbfc1a2840c544afd
tree18a7e4df30e8ace0bd04029bf881c02c644cd54a
parentbdd58e62ea740577ff248a2e04f19ceed906f9a7
ipf: Avoid accessing to a freed rp.

if there are multiple pkts in the batch, the loop will access a
freed rp, which cause ovs crash.

Fixes: 4ea96698f667 ("Userspace datapath: Add fragmentation handling.")
Signed-off-by: Peng He <hepeng.0320@bytedance.com>
Acked-by: Mark Gray <mark.d.gray@redhat.com>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
lib/ipf.c