diff options
Diffstat (limited to 'net/core')
-rw-r--r-- | net/core/skbuff.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/core/skbuff.c b/net/core/skbuff.c index 7c571560e9d2..50a853f7cd8e 100644 --- a/net/core/skbuff.c +++ b/net/core/skbuff.c | |||
@@ -459,6 +459,8 @@ static void __copy_skb_header(struct sk_buff *new, const struct sk_buff *old) | |||
459 | new->tc_verd = old->tc_verd; | 459 | new->tc_verd = old->tc_verd; |
460 | #endif | 460 | #endif |
461 | #endif | 461 | #endif |
462 | new->vlan_tci = old->vlan_tci; | ||
463 | |||
462 | skb_copy_secmark(new, old); | 464 | skb_copy_secmark(new, old); |
463 | } | 465 | } |
464 | 466 | ||
@@ -2286,6 +2288,7 @@ struct sk_buff *skb_segment(struct sk_buff *skb, int features) | |||
2286 | skb_copy_queue_mapping(nskb, skb); | 2288 | skb_copy_queue_mapping(nskb, skb); |
2287 | nskb->priority = skb->priority; | 2289 | nskb->priority = skb->priority; |
2288 | nskb->protocol = skb->protocol; | 2290 | nskb->protocol = skb->protocol; |
2291 | nskb->vlan_tci = skb->vlan_tci; | ||
2289 | nskb->dst = dst_clone(skb->dst); | 2292 | nskb->dst = dst_clone(skb->dst); |
2290 | memcpy(nskb->cb, skb->cb, sizeof(skb->cb)); | 2293 | memcpy(nskb->cb, skb->cb, sizeof(skb->cb)); |
2291 | nskb->pkt_type = skb->pkt_type; | 2294 | nskb->pkt_type = skb->pkt_type; |