> From: Jia Jia <[email protected]>
> 
> 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 to the locked receive
> path through a packet context so later extensions remain cleanly
> encapsulated.
> 
> Preserve source validation and failure handling. Keep the lookup reference
> separate from the skb owner reference so a later patch can retain it while
> processing a bounded run of packets under one socket lock.
> 
> 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


Reply via email to