Messages in this thread | | | Date | Fri, 06 Dec 2013 15:30:44 -0500 (EST) | Subject | Re: [PATCH 1/2] virtio-net: determine type of bufs correctly | From | David Miller <> |
| |
From: Andrey Vagin <avagin@openvz.org> Date: Thu, 5 Dec 2013 18:36:20 +0400
> free_unused_bufs must check vi->mergeable_rx_bufs before > vi->big_packets, because we use this sequence in other places. > Otherwise we allocate buffer of one type, then free it as another > type. ... > Fixes: 2613af0ed18a (virtio_net: migrate mergeable rx buffers to page frag allocators) > Cc: Michael Dalton <mwdalton@google.com> > Cc: Rusty Russell <rusty@rustcorp.com.au> > Cc: "Michael S. Tsirkin" <mst@redhat.com> > Signed-off-by: Andrey Vagin <avagin@openvz.org>
Applied.
| |