]> git.baikalelectronics.ru Git - kernel.git/commit
rds: avoid unenecessary cong_update in loop transport
authorSantosh Shilimkar <santosh.shilimkar@oracle.com>
Thu, 14 Jun 2018 18:52:34 +0000 (11:52 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Jun 2018 02:01:49 +0000 (19:01 -0700)
commit49cdd52d3b08318b1af0631f1ddd1631422bdb6e
tree42a65ff20c3536040cd60c52a1e40b199e34db6e
parent7462b87e56ee1d8c27a20113ba8299bfdf830e91
rds: avoid unenecessary cong_update in loop transport

Loop transport which is self loopback, remote port congestion
update isn't relevant. Infact the xmit path already ignores it.
Receive path needs to do the same.

Reported-by: syzbot+4c20b3866171ce8441d2@syzkaller.appspotmail.com
Reviewed-by: Sowmini Varadhan <sowmini.varadhan@oracle.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rds/loop.c
net/rds/rds.h
net/rds/recv.c