On 2018年02月09日 23:53, Michael S. Tsirkin wrote:
On Fri, Feb 09, 2018 at 05:45:50PM +0800, Jason Wang wrote:
This patch switch to use kvmalloc_array() for using a vmalloc()
fallback to help in case kmalloc() fails.
Above isn't really saying anything about the motivation, it
just explains what kvmalloc_array does.

How about:

Switch ptr_ring from kmalloc to kvmalloc. This way it can support larger
ring sizes.

Reported-by:syzbot+e4d4f9ddd42955397...@syzkaller.appspotmail.com
Fixes: 2e0ab8ca83c12 ("ptr_ring: array based FIFO for pointers")
I don't see this as a bugfix - it's more of an enhancement.

Do we need this in net or can we defer this to net-next?

Consider they are users of tx_queue_len of more than 1000000 from google searching. We'd better have this in -net.

Thanks


I'm not sure myself. For now

Acked-by: Michael S. Tsirkin<m...@redhat.com>


Reply via email to