From: Paolo Abeni Date: Wed, 28 Jul 2021 16:24:01 +0000 (+0200) Subject: sk_buff: track extension status in slow_gro X-Git-Tag: accepted/tizen/unified/20230118.172025~6527^2~362^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b0999f385ac30cb17880ae1c1512491fbf0c9542;p=platform%2Fkernel%2Flinux-rpi.git sk_buff: track extension status in slow_gro Similar to the previous one, but tracking the active_extensions field status. Signed-off-by: Paolo Abeni Signed-off-by: David S. Miller --- diff --git a/net/core/skbuff.c b/net/core/skbuff.c index fc7942c..c5b02ed 100644 --- a/net/core/skbuff.c +++ b/net/core/skbuff.c @@ -6449,6 +6449,7 @@ void *skb_ext_add(struct sk_buff *skb, enum skb_ext_id id) new->chunks = newlen; new->offset[id] = newoff; set_active: + skb->slow_gro = 1; skb->extensions = new; skb->active_extensions |= 1 << id; return skb_ext_get_ptr(new, id);