OSDN Git Service

sk_buff: introduce 'slow_gro' flags
authorPaolo Abeni <pabeni@redhat.com>
Wed, 28 Jul 2021 16:23:59 +0000 (18:23 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 29 Jul 2021 11:18:11 +0000 (12:18 +0100)
commit5fc88f93edf2f797f1aa63334cc6c86f9c15d585
treee442c15150a6b14ec85293f1a89cb16ceeefc545
parent883d71a55e968371d1ff151249732466b5581f58
sk_buff: introduce 'slow_gro' flags

The new flag tracks if any state field is set, so that
GRO requires 'unusual'/slow prepare steps.

Set such flag when a ct entry is attached to the skb,
and never clear it.

The new bit uses an existing hole into the sk_buff struct

RFC -> v1:
 - use a single state bit, never clear it
 - avoid moving the _nfct field

Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/skbuff.h