Re: [PATCH v21 04/20] net/tls,core: export get_netdev_for_sock

Aurelien Aptel
2023-12-15T13:46:46Z

Jakub Kicinski <kuba@kernel.org> writes:
>> +struct net_device *get_netdev_for_sock(struct sock *sk)
>
> Since the use of this helper is now spreading we should
> switch it to netdev_hold and have the caller pass in a
> netdevice_tracker.

Ok, we will update and store a netdevice_tracker in nvme-tcp.

Thanks