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>
Этот коммит содержится в:

коммит произвёл
David S. Miller

родитель
d8b9605d26
Коммит
df8a39defa
@@ -1650,9 +1650,9 @@ static netdev_tx_t bdx_tx_transmit(struct sk_buff *skb,
|
||||
txd_mss);
|
||||
}
|
||||
|
||||
if (vlan_tx_tag_present(skb)) {
|
||||
if (skb_vlan_tag_present(skb)) {
|
||||
/*Cut VLAN ID to 12 bits */
|
||||
txd_vlan_id = vlan_tx_tag_get(skb) & BITS_MASK(12);
|
||||
txd_vlan_id = skb_vlan_tag_get(skb) & BITS_MASK(12);
|
||||
txd_vtag = 1;
|
||||
}
|
||||
|
||||
|
Ссылка в новой задаче
Block a user