summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorBob Liu <bob.liu@oracle.com>2015-07-22 14:40:09 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-09-13 09:10:48 -0700
commitee1591864c92da6d0d9862e572d3dc32741039c6 (patch)
treecb8e738527f24caf670ad4f9ed18d37ad824a095 /net/lapb/lapb_in.c
parent97091ac3ccdb83bc3df7a39dd0d6830c7e451c67 (diff)
xen-blkfront: don't add indirect pages to list when !feature_persistent
commit 7b0767502b5db11cb1f0daef2d01f6d71b1192dc upstream. We should consider info->feature_persistent when adding indirect page to list info->indirect_pages, else the BUG_ON() in blkif_free() would be triggered. When we are using persistent grants the indirect_pages list should always be empty because blkfront has pre-allocated enough persistent pages to fill all requests on the ring. Acked-by: Roger Pau Monné <roger.pau@citrix.com> Signed-off-by: Bob Liu <bob.liu@oracle.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions