]> git.baikalelectronics.ru Git - kernel.git/commit
nvme-tcp: Use protocol specific operations while reading socket
authorPotnuri Bharat Teja <bharat@chelsio.com>
Mon, 8 Jul 2019 09:52:00 +0000 (15:22 +0530)
committerSagi Grimberg <sagi@grimberg.me>
Thu, 29 Aug 2019 19:55:00 +0000 (12:55 -0700)
commit26c9fc78c52c288be5dd6862d2c36d62a348a760
treec9844a5cb90bc5b0ed62c9729e616ed417591500
parenta7ed6099452205bad417e27fad985f281c35f91e
nvme-tcp: Use protocol specific operations while reading socket

Using socket specific read_sock() calls instead of directly calling
tcp_read_sock() helps lld module registered handlers if any, to be called
from nvme-tcp host.
This patch therefore replaces the tcp_read_sock() with socket specific
prot_ops.

Signed-off-by: Potnuri Bharat Teja <bharat@chelsio.com>
Acked-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
drivers/nvme/host/tcp.c