On Tue, Nov 7, 2023 at 10:05 PM Stanislav Fomichev sdf@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.