diff options
author | Jiri Pirko <jiri@resnulli.us> | 2015-01-13 11:13:44 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-01-13 17:51:08 -0500 |
commit | df8a39defad46b83694ea6dd868d332976d62cc0 (patch) | |
tree | fe19bca0c2788033d49686babfc7b3853fa13340 /drivers/vhost/net.c | |
parent | d8b9605d2697c48fb822c821c5751afbb4567003 (diff) |
net: rename vlan_tx_* helpers since "tx" is misleading there
The same macros are used for rx as well. So rename it.
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
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 | ||