diff options
author | Santosh Shilimkar <santosh.shilimkar@oracle.com> | 2018-06-14 21:52:34 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-06-15 05:01:49 +0300 |
commit | f1693c63ab133d16994cc50f773982b5905af264 (patch) | |
tree | 42a65ff20c3536040cd60c52a1e40b199e34db6e /net/rds/loop.c | |
parent | 7f6afc338405628ae32826ce82827c3f19bf3d15 (diff) |
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>
Diffstat (limited to 'net/rds/loop.c')
-rw-r--r-- | net/rds/loop.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/rds/loop.c b/net/rds/loop.c index f2bf78de5688..dac6218a460e 100644 --- a/net/rds/loop.c +++ b/net/rds/loop.c @@ -193,4 +193,5 @@ struct rds_transport rds_loop_transport = { .inc_copy_to_user = rds_message_inc_copy_to_user, .inc_free = rds_loop_inc_free, .t_name = "loopback", + .t_type = RDS_TRANS_LOOP, }; |