Re: [PATCH v5 net-next 04/36] net/tls: expose get_netdev_for_sock
From: Christoph Hellwig <hch@lst.de>
Date: 2021-07-23 06:07:06
Also in:
netdev
From: Christoph Hellwig <hch@lst.de>
Date: 2021-07-23 06:07:06
Also in:
netdev
On Thu, Jul 22, 2021 at 02:02:53PM +0300, Boris Pismenny wrote:
From: Boris Pismenny <redacted> get_netdev_for_sock is a utility that is used to obtain the net_device structure from a connected socket. Later patches will use this for nvme-tcp DDP and DDP DDGST offloads. Signed-off-by: Boris Pismenny <redacted> Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
I don't think this should be an inline. Please move it to net/core/dev.c, andd add an EXPORT_SYMBOL_GPL and a kerneldoc comment. _______________________________________________ Linux-nvme mailing list Linux-nvme@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-nvme