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

Aurelien Aptel aaptel at nvidia.com
Fri Dec 15 05:46:20 PST 2023


Jakub Kicinski <kuba at 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



More information about the Linux-nvme mailing list