diff options
Diffstat (limited to 'drivers/vhost/net.c')
-rw-r--r-- | drivers/vhost/net.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/vhost/net.c b/drivers/vhost/net.c index 14419a8ccbb6..bcaf4cabb858 100644 --- a/drivers/vhost/net.c +++ b/drivers/vhost/net.c | |||
@@ -469,7 +469,7 @@ static int peek_head_len(struct sock *sk) | |||
469 | head = skb_peek(&sk->sk_receive_queue); | 469 | head = skb_peek(&sk->sk_receive_queue); |
470 | if (likely(head)) { | 470 | if (likely(head)) { |
471 | len = head->len; | 471 | len = head->len; |
472 | if (vlan_tx_tag_present(head)) | 472 | if (skb_vlan_tag_present(head)) |
473 | len += VLAN_HLEN; | 473 | len += VLAN_HLEN; |
474 | } | 474 | } |
475 | 475 | ||