[RFC PATCH v3 09/12] net: add support for skbs with unreadable frags
Eric Dumazet
edumazet at google.com
Tue Nov 7 21:17:42 UTC 2023
On Tue, Nov 7, 2023 at 10:05 PM Stanislav Fomichev <sdf at google.com> wrote:
>
> I don't understand. We require an elaborate setup to receive devmem cmsgs,
> why would some random application receive those?
A TCP socket can receive 'valid TCP packets' from many different sources,
especially with BPF hooks...
Think of a bonding setup, packets being mirrored by some switches or
even from tc.
Better double check than be sorry.
We have not added a 5th component in the 4-tuple lookups, being "is
this socket a devmem one".
A mix of regular/devmem skb is supported.
More information about the dri-devel
mailing list