mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-02 20:29:20 +00:00
vlan: kill vlan_put_tag helper
Since both tx and rx paths work with skb->vlan_tci, there's no need for this function anymore. Switch users directly to __vlan_hwaccel_put_tag. Signed-off-by: Jiri Pirko <jiri@resnulli.us> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
b960a0ac69
commit
b4bef1b575
4 changed files with 7 additions and 39 deletions
|
@ -402,7 +402,7 @@ static struct sk_buff *cdc_mbim_process_dgram(struct usbnet *dev, u8 *buf, size_
|
|||
|
||||
/* map MBIM session to VLAN */
|
||||
if (tci)
|
||||
vlan_put_tag(skb, htons(ETH_P_8021Q), tci);
|
||||
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), tci);
|
||||
err:
|
||||
return skb;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue