summaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding/bond_main.c
diff options
context:
space:
mode:
authorJiri Pirko2014-11-19 14:04:57 +0100
committerDavid S. Miller2014-11-21 20:20:17 +0100
commitb4bef1b57544b18899eb15569e3bafd8d2eeeff6 (patch)
tree5f78030a09edac7df1e26c109d6aa2ef03927d5b /drivers/net/bonding/bond_main.c
parentvlan: make __vlan_hwaccel_put_tag return void (diff)
downloadkernel-qcow2-linux-b4bef1b57544b18899eb15569e3bafd8d2eeeff6.tar.gz
kernel-qcow2-linux-b4bef1b57544b18899eb15569e3bafd8d2eeeff6.tar.xz
kernel-qcow2-linux-b4bef1b57544b18899eb15569e3bafd8d2eeeff6.zip
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>
Diffstat (limited to 'drivers/net/bonding/bond_main.c')
-rw-r--r--drivers/net/bonding/bond_main.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c
index 8575fee8b359..e26c68232032 100644
--- a/drivers/net/bonding/bond_main.c
+++ b/drivers/net/bonding/bond_main.c
@@ -2159,12 +2159,8 @@ static void bond_arp_send(struct net_device *slave_dev, int arp_op,
if (outer_tag->vlan_id) {
netdev_dbg(slave_dev, "outer tag: proto %X vid %X\n",
ntohs(outer_tag->vlan_proto), outer_tag->vlan_id);
- skb = vlan_put_tag(skb, outer_tag->vlan_proto,
- outer_tag->vlan_id);
- if (!skb) {
- net_err_ratelimited("failed to insert outer VLAN tag\n");
- return;
- }
+ __vlan_hwaccel_put_tag(skb, outer_tag->vlan_proto,
+ outer_tag->vlan_id);
}
xmit: