+34
−2
Loading
mainline inclusion from mainline-v6.10-rc1 commit cc0ab806fc52e77f961b275ebb58024bd0e7adf2 category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/IACM52 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=cc0ab806fc52e77f961b275ebb58024bd0e7adf2 -------------------------------- If the local sndbuf shares the same physical memory with peer DMB, the cursor update processing needs to be adapted to ensure that the data to be consumed won't be overwritten. So in this case, the fin_curs and sndbuf_space that were originally updated after sending the CDC message should be modified to not be update until the peer updates cons_curs. Signed-off-by:Wen Gu <guwen@linux.alibaba.com> Reviewed-by:
Wenjia Zhang <wenjia@linux.ibm.com> Reviewed-and-tested-by:
Jan Karcher <jaka@linux.ibm.com> Signed-off-by:
Paolo Abeni <pabeni@redhat.com> Signed-off-by:
Zhengchao Shao <shaozhengchao@huawei.com>