summaryrefslogtreecommitdiff
path: root/drivers/net/xen-netback/Makefile
diff options
context:
space:
mode:
authorZoltan Kiss <zoltan.kiss@citrix.com>2014-07-18 22:08:04 +0400
committerDavid S. Miller <davem@davemloft.net>2014-07-21 07:56:06 +0400
commit1b860da0404a76af8533099ffe0a965490939369 (patch)
treeefca7ccb372aa5ecf5774f06d3abe92af888dfce /drivers/net/xen-netback/Makefile
parentb42cc6e421e7bf74e545483aa34b99d2a2ca6d3a (diff)
downloadlinux-1b860da0404a76af8533099ffe0a965490939369.tar.xz
xen-netback: Fix releasing header slot on error path
This patch makes this function aware that the first frag and the header might share the same ring slot. That could happen if the first slot is bigger than PKT_PROT_LEN. Due to this the error path might release that slot twice or never, depending on the error scenario. xenvif_idx_release is also removed from xenvif_idx_unmap, and called separately. Signed-off-by: Zoltan Kiss <zoltan.kiss@citrix.com> Reported-by: Armin Zentai <armin.zentai@ezit.hu> Cc: netdev@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: xen-devel@lists.xenproject.org Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/xen-netback/Makefile')
0 files changed, 0 insertions, 0 deletions