xen-netback: Fix releasing frag_list skbs in error path
xen-netback: Fix releasing frag_list skbs in error path

When the grant operations failed, the skb is freed up eventually, and it tries
to release the frags, if there is any. For the main skb nr_frags is set to 0 to
avoid this, but on the frag_list it iterates through the frags array, and tries
to call put_page on the page pointer which contains garbage at that time.

Signed-off-by: Zoltan Kiss <045352d2c5c4a454a2aefff6fa815639b332fd1d@citrix.com>
Reported-by: Armin Zentai <2dd6daf5013a68f73ee589a32be7669a41b02570@ezit.hu>
Cc: 1099b3bee480025a15c1b622ecdea77a1d6d7166@vger.kernel.org
Cc: 2578944098299abf708b08eff6fcf60565553586@vger.kernel.org
Cc: 196a79ea1bad81d8c954adf793448b0a45442f28@lists.xenproject.org
Signed-off-by: David S. Miller <fe08d3c717adf2ae63592e4c9aec6e3e404d8e3e@davemloft.net>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs