Home
last modified time | relevance | path

Searched hist:ead315e43ea0c2ca3491209c6c8db8ce3f2bbe05 (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/hw/net/
H A Dnet_tx_pkt.cdiff ead315e43ea0c2ca3491209c6c8db8ce3f2bbe05 Thu Aug 04 02:30:14 CDT 2016 Prasad J Pandit <pjp@fedoraproject.org> net: check fragment length during fragmentation

Network transport abstraction layer supports packet fragmentation.
While fragmenting a packet, it checks for more fragments from
packet length and current fragment length. It is susceptible
to an infinite loop, if the current fragment length is zero.
Add check to avoid it.

Reported-by: Li Qiang <liqiang6-s@360.cn>
Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org>
Reviewed-by: Dmitry Fleytman <dmitry@daynix.com>
CC: qemu-stable@nongnu.org
Signed-off-by: Jason Wang <jasowang@redhat.com>