diff options
author | Paolo Abeni <pabeni@redhat.com> | 2021-07-28 18:24:01 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-07-29 13:18:11 +0200 |
commit | b0999f385ac30cb17880ae1c1512491fbf0c9542 (patch) | |
tree | 9780674cf5a8f8ce9c0864fecf7e28307c17cd0d /net | |
parent | sk_buff: track dst status in slow_gro (diff) | |
download | linux-b0999f385ac30cb17880ae1c1512491fbf0c9542.tar.xz linux-b0999f385ac30cb17880ae1c1512491fbf0c9542.zip |
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 <pabeni@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/core/skbuff.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/core/skbuff.c b/net/core/skbuff.c index fc7942c0dddc..c5b02edd8881 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); |