commit | 02ce04bb3d28c3333231f43bca677228dbc686fe | [log] [tgz] |
---|---|---|
author | Jason Wang <jasowang@redhat.com> | Wed May 02 11:41:58 2012 +0800 |
committer | Michael S. Tsirkin <mst@redhat.com> | Wed May 02 18:22:19 2012 +0300 |
tree | c550c85297c3c4f3e2f7e92e5f98226fefb3c259 | |
parent | 4ef67ebedffa44ed9939b34708ac2fee06d2f65f [diff] |
macvtap: zerocopy: put page when fail to get all requested user pages When get_user_pages_fast() fails to get all requested pages, we could not use kfree_skb() to free it as it has not been put in the skb fragments. So we need to call put_page() instead. Signed-off-by: Jason Wang <jasowang@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>