|
@@ -320,8 +320,9 @@ static inline struct sk_buff *vlan_insert_tag(struct sk_buff *skb,
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * __vlan_put_tag - regular VLAN tag inserting
|
|
|
+ * vlan_insert_tag_set_proto - regular VLAN tag inserting
|
|
|
* @skb: skbuff to tag
|
|
|
+ * @vlan_proto: VLAN encapsulation protocol
|
|
|
* @vlan_tci: VLAN TCI to insert
|
|
|
*
|
|
|
* Inserts the VLAN tag into @skb as part of the payload
|
|
@@ -330,8 +331,9 @@ static inline struct sk_buff *vlan_insert_tag(struct sk_buff *skb,
|
|
|
* Following the skb_unshare() example, in case of error, the calling function
|
|
|
* doesn't have to worry about freeing the original skb.
|
|
|
*/
|
|
|
-static inline struct sk_buff *__vlan_put_tag(struct sk_buff *skb,
|
|
|
- __be16 vlan_proto, u16 vlan_tci)
|
|
|
+static inline struct sk_buff *vlan_insert_tag_set_proto(struct sk_buff *skb,
|
|
|
+ __be16 vlan_proto,
|
|
|
+ u16 vlan_tci)
|
|
|
{
|
|
|
skb = vlan_insert_tag(skb, vlan_proto, vlan_tci);
|
|
|
if (skb)
|