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)
commitf1693c63ab133d16994cc50f773982b5905af264
tree42a65ff20c3536040cd60c52a1e40b199e34db6e
parent7f6afc338405628ae32826ce82827c3f19bf3d15
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