From: John Fastabend <john.fastab...@gmail.com> Date: Wed, 25 Jan 2017 18:22:48 -0800
> In the small buffer case during driver unload we currently use > put_page instead of dev_kfree_skb. Resolve this by adding a check > for virtnet mode when checking XDP queue type. Also name the > function so that the code reads correctly to match the additional > check. > > Fixes: bb91accf2733 ("virtio-net: XDP support for small buffers") > Signed-off-by: John Fastabend <john.r.fastab...@intel.com> > Acked-by: Jason Wang <jasow...@redhat.com> > Acked-by: Michael S. Tsirkin <m...@redhat.com> Applied.