net: Move virtio-net header length assertion
commita67753710d5fe6c0eef95229ff5fd9cafb78d862
authorAkihiko Odaki <akihiko.odaki@daynix.com>
Sun, 28 Apr 2024 07:00:46 +0000 (28 16:00 +0900)
committerJason Wang <jasowang@redhat.com>
Tue, 4 Jun 2024 07:14:26 +0000 (4 15:14 +0800)
tree16a8b5f3a2b83f7f74ac89698ae8a2b03f2cb380
parent4b52d63249a508dd927222ffac1a868d38681fc5
net: Move virtio-net header length assertion

The virtio-net header length assertion should happen for any clients.

Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
net/net.c
net/tap.c