diff options
Diffstat (limited to 'net/core/skbuff.c')
-rw-r--r-- | net/core/skbuff.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/net/core/skbuff.c b/net/core/skbuff.c index af9b1516e21f..ef9d46b91eb9 100644 --- a/net/core/skbuff.c +++ b/net/core/skbuff.c | |||
@@ -122,6 +122,8 @@ void skb_under_panic(struct sk_buff *skb, int sz, void *here) | |||
122 | * __alloc_skb - allocate a network buffer | 122 | * __alloc_skb - allocate a network buffer |
123 | * @size: size to allocate | 123 | * @size: size to allocate |
124 | * @gfp_mask: allocation mask | 124 | * @gfp_mask: allocation mask |
125 | * @fclone: allocate from fclone cache instead of head cache | ||
126 | * and allocate a cloned (child) skb | ||
125 | * | 127 | * |
126 | * Allocate a new &sk_buff. The returned buffer has no headroom and a | 128 | * Allocate a new &sk_buff. The returned buffer has no headroom and a |
127 | * tail room of size bytes. The object has a reference count of one. | 129 | * tail room of size bytes. The object has a reference count of one. |
@@ -410,6 +412,9 @@ struct sk_buff *skb_clone(struct sk_buff *skb, gfp_t gfp_mask) | |||
410 | C(nfct); | 412 | C(nfct); |
411 | nf_conntrack_get(skb->nfct); | 413 | nf_conntrack_get(skb->nfct); |
412 | C(nfctinfo); | 414 | C(nfctinfo); |
415 | #if defined(CONFIG_IP_VS) || defined(CONFIG_IP_VS_MODULE) | ||
416 | C(ipvs_property); | ||
417 | #endif | ||
413 | #ifdef CONFIG_BRIDGE_NETFILTER | 418 | #ifdef CONFIG_BRIDGE_NETFILTER |
414 | C(nf_bridge); | 419 | C(nf_bridge); |
415 | nf_bridge_get(skb->nf_bridge); | 420 | nf_bridge_get(skb->nf_bridge); |
@@ -467,6 +472,9 @@ static void copy_skb_header(struct sk_buff *new, const struct sk_buff *old) | |||
467 | new->nfct = old->nfct; | 472 | new->nfct = old->nfct; |
468 | nf_conntrack_get(old->nfct); | 473 | nf_conntrack_get(old->nfct); |
469 | new->nfctinfo = old->nfctinfo; | 474 | new->nfctinfo = old->nfctinfo; |
475 | #if defined(CONFIG_IP_VS) || defined(CONFIG_IP_VS_MODULE) | ||
476 | new->ipvs_property = old->ipvs_property; | ||
477 | #endif | ||
470 | #ifdef CONFIG_BRIDGE_NETFILTER | 478 | #ifdef CONFIG_BRIDGE_NETFILTER |
471 | new->nf_bridge = old->nf_bridge; | 479 | new->nf_bridge = old->nf_bridge; |
472 | nf_bridge_get(old->nf_bridge); | 480 | nf_bridge_get(old->nf_bridge); |