aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/netpoll.c
diff options
context:
space:
mode:
authorJiri Pirko <jiri@resnulli.us>2014-11-19 08:04:58 -0500
committerDavid S. Miller <davem@davemloft.net>2014-11-21 14:20:17 -0500
commit62749e2cb3c4a7da3eaa5c01a7e787aebeff8536 (patch)
treea464a51f430889a16db620946abf9d20874b3406 /net/core/netpoll.c
parentb4bef1b57544b18899eb15569e3bafd8d2eeeff6 (diff)
vlan: rename __vlan_put_tag to vlan_insert_tag_set_proto
Name fits better. Plus there's going to be introduced __vlan_insert_tag later on. Signed-off-by: Jiri Pirko <jiri@resnulli.us> Acked-by: Pravin B Shelar <pshelar@nicira.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/netpoll.c')
-rw-r--r--net/core/netpoll.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/core/netpoll.c b/net/core/netpoll.c
index e6645b4f330a..65d372384a3f 100644
--- a/net/core/netpoll.c
+++ b/net/core/netpoll.c
@@ -79,8 +79,8 @@ static int netpoll_start_xmit(struct sk_buff *skb, struct net_device *dev,
79 79
80 if (vlan_tx_tag_present(skb) && 80 if (vlan_tx_tag_present(skb) &&
81 !vlan_hw_offload_capable(features, skb->vlan_proto)) { 81 !vlan_hw_offload_capable(features, skb->vlan_proto)) {
82 skb = __vlan_put_tag(skb, skb->vlan_proto, 82 skb = vlan_insert_tag_set_proto(skb, skb->vlan_proto,
83 vlan_tx_tag_get(skb)); 83 vlan_tx_tag_get(skb));
84 if (unlikely(!skb)) { 84 if (unlikely(!skb)) {
85 /* This is actually a packet drop, but we 85 /* This is actually a packet drop, but we
86 * don't want the code that calls this 86 * don't want the code that calls this