commit | 3a4030761ea88ff439030ca98e3094b9900e96b7 | [log] [tgz] |
---|---|---|
author | Jason Wang <jasowang@redhat.com> | Fri Mar 09 14:50:34 2018 +0800 |
committer | David S. Miller <davem@davemloft.net> | Fri Mar 09 12:02:59 2018 -0500 |
tree | c0d48a1da4ce356c2ce2037ba1b4fc210abba7e6 | |
parent | 303fd71b37fb710b26f5ff5444029d62cfd627bd [diff] |
vhost_net: examine pointer types during un-producing After commit fc72d1d54dd9 ("tuntap: XDP transmission"), we can actually queueing XDP pointers in the pointer ring, so we should examine the pointer type before freeing the pointer. Fixes: fc72d1d54dd9 ("tuntap: XDP transmission") Reported-by: Michael S. Tsirkin <mst@redhat.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Jason Wang <jasowang@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>