> Split virtio_transport_recv_pkt() so socket lookup is separate from the > receive state machine that runs under the socket lock. > > Keep virtio_transport_recv_pkt() on its existing per-packet locking path. > Pass the source and destination addresses used for lookup to the locked > receive path so they are decoded only once. > > Pass the network namespace and decoded address tuple through a packet > context to the locked receive path. > > Preserve source validation and failure handling. Keep the lookup reference > separate from the skb owner reference so the locked receive path can manage > the two lifetimes independently. > > Signed-off-by: Jia Jia <[email protected]>
Sashiko has reviewed this patch and found no issues. It looks great! -- Sashiko AI review ยท https://sashiko.dev/#/patchset/[email protected]?part=1
