commit | 27a6375de3edece2e5d115847d54c01e52331f7e | [log] [tgz] |
---|---|---|
author | Michael S. Tsirkin <mst@redhat.com> | Sun Oct 31 19:06:47 2010 +0200 |
committer | Anthony Liguori <aliguori@us.ibm.com> | Tue Nov 16 08:40:07 2010 -0600 |
tree | 2e0668b8e8081e382a998a8d365adf959a0b0c27 | |
parent | f6584ee20338a74ef3b05b38b8f9dc5e7a7276a6 [diff] |
tap: make set_offload a nop after netdev cleanup virtio-net expects set_offload to succeed after peer cleanup. Since we don't have an open fd anymore, make it so. Fixes warning about the failure of offload setting. Reported-by: Jason Wang <jasowang@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>