Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 330208
b: refs/heads/master
c: 5316cf9
h: refs/heads/master
v: v3
  • Loading branch information
Antonio Quartulli authored and David S. Miller committed Oct 3, 2012
1 parent f741ff7 commit 8502b81
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 786fdf0bbf1c3a1b402bb2da946b93e0b36a8f32
refs/heads/master: 5316cf9a5197eb80b2800e1acadde287924ca975
3 changes: 2 additions & 1 deletion trunk/net/8021q/vlan_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ static struct sk_buff *vlan_reorder_header(struct sk_buff *skb)
return NULL;
memmove(skb->data - ETH_HLEN, skb->data - VLAN_ETH_HLEN, 2 * ETH_ALEN);
skb->mac_header += VLAN_HLEN;
skb_reset_mac_len(skb);
return skb;
}

Expand Down Expand Up @@ -139,6 +138,8 @@ struct sk_buff *vlan_untag(struct sk_buff *skb)

skb_reset_network_header(skb);
skb_reset_transport_header(skb);
skb_reset_mac_len(skb);

return skb;

err_free:
Expand Down

0 comments on commit 8502b81

Please sign in to comment.