igbvf: fix issue w/ mapped_as_page being left set after unmap
authorAlexander Duyck <alexander.h.duyck@intel.com>
Wed, 27 Jan 2010 15:30:39 +0000 (15:30 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Jan 2010 13:55:53 +0000 (05:55 -0800)
commitac26d7d6aca9621f75f6954c159d2727c9c9cbd0
tree289fa801414a3497031c1294cac9452fc340d557
parentaeedba8bd2cf2f6f7b45bc7853754a03bc926797
igbvf: fix issue w/ mapped_as_page being left set after unmap

This change fixes an issue in igbvf with mapped_as_page being left set
after a page is unmapped which results in buffers which are mapped via map
single being unmapped as page.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/igbvf/netdev.c