🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.kernel.netdev
3 messages
3 total messages Started by Jakub Kicinski Tue, 20 Oct 2026 20:36
Re: [PATCH] tls: keep TX and RX hardware offload on the same device
#5708
Author: Jakub Kicinski
Date: Tue, 20 Oct 2026 20:36
8 lines
7919 bytes
On Tue, 13 Oct 2026 14:26:47 -0600 Rishikesh Jethwani wrote:
> +	       rcu_dereference_protected(ctx->netdev,
> +					 lockdep_is_held(&device_offload_lock)) == netdev;

Too ugly, add temp variable, pls
-- 
pw-bot: cr
Re: [PATCH] tls: keep TX and RX hardware offload on the same device
#5759
Author: Jakub Kicinski
Date: Tue, 20 Oct 2026 22:19
15 lines
8387 bytes
On Tue, 20 Oct 2026 14:01:23 -0700 Rishikesh Jethwani wrote:
> On Tue, Oct 20, 2026 at 1:36 PM Jakub Kicinski <kuba@kernel.org> wrote:
> >
> > On Tue, 13 Oct 2026 14:26:47 -0600 Rishikesh Jethwani wrote:  
> > > +            rcu_dereference_protected(ctx->netdev,
> > > +                                      lockdep_is_held(&device_offload_lock)) == netdev;  
> >
> > Too ugly, add temp variable, pls  
> 
> Thanks, I'll use a ctx_netdev temporary and send v2.

Is that a name you've seen anywhere else in this file? :/
Re: [PATCH] tls: keep TX and RX hardware offload on the same device
#5790
Author: Jakub Kicinski
Date: Wed, 21 Oct 2026 00:15
21 lines
8632 bytes
On Tue, 20 Oct 2026 16:05:06 -0700 Rishikesh Jethwani wrote:
> On Tue, Oct 20, 2026 at 3:19 PM Jakub Kicinski <kuba@kernel.org> wrote:
> >
> > On Tue, 20 Oct 2026 14:01:23 -0700 Rishikesh Jethwani wrote:  
> > > On Tue, Oct 20, 2026 at 1:36 PM Jakub Kicinski <kuba@kernel.org> wrote:  
>  [...]  
>  [...]  
>  [...]  
> > >
> > > Thanks, I'll use a ctx_netdev temporary and send v2.  
> >
> > Is that a name you've seen anywhere else in this file? :/  
> 
> Yes, tls_device_down() already uses ctx_netdev for the same
> rcu_dereference_protected(ctx->netdev, ...) lookup,
> so the name is consistent with existing code.

Ack, thanks
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads