tap: Remove tap_probe_vnet_hdr_len()
commit52a7ff526964e7810ec1ccc71efbdd60952dd20b
authorAkihiko Odaki <akihiko.odaki@daynix.com>
Sun, 28 Apr 2024 07:00:44 +0000 (28 16:00 +0900)
committerJason Wang <jasowang@redhat.com>
Tue, 4 Jun 2024 07:14:25 +0000 (4 15:14 +0800)
tree8cef0a19baaeade8ecfac931edcbc3c2497c0574
parent3ab42e46acf867c45bc929fcc37693e327a35a24
tap: Remove tap_probe_vnet_hdr_len()

It was necessary since an Linux older than 2.6.35 may implement the
virtio-net header but may not allow to change its length. Remove it
since such an old Linux is no longer supported.

Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
net/tap-bsd.c
net/tap-linux.c
net/tap-solaris.c
net/tap-stub.c
net/tap.c
net/tap_int.h