Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Conflicts were two cases of simple overlapping changes, nothing serious. In the UDP case, we need to add a hlist_add_tail_rcu() to linux/rculist.h, because we've moved UDP socket handling away from using nulls lists. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -4529,13 +4529,16 @@ int skb_vlan_push(struct sk_buff *skb, __be16 vlan_proto, u16 vlan_tci)
|
||||
__skb_push(skb, offset);
|
||||
err = __vlan_insert_tag(skb, skb->vlan_proto,
|
||||
skb_vlan_tag_get(skb));
|
||||
if (err)
|
||||
if (err) {
|
||||
__skb_pull(skb, offset);
|
||||
return err;
|
||||
}
|
||||
|
||||
skb->protocol = skb->vlan_proto;
|
||||
skb->mac_len += VLAN_HLEN;
|
||||
__skb_pull(skb, offset);
|
||||
|
||||
skb_postpush_rcsum(skb, skb->data + (2 * ETH_ALEN), VLAN_HLEN);
|
||||
__skb_pull(skb, offset);
|
||||
}
|
||||
__vlan_hwaccel_put_tag(skb, vlan_proto, vlan_tci);
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user