aboutsummaryrefslogtreecommitdiffstats
path: root/net/rds/loop.c
diff options
context:
space:
mode:
authorSantosh Shilimkar <[email protected]>2018-06-14 18:52:34 +0000
committerDavid S. Miller <[email protected]>2018-06-15 02:01:49 +0000
commitf1693c63ab133d16994cc50f773982b5905af264 (patch)
tree42a65ff20c3536040cd60c52a1e40b199e34db6e /net/rds/loop.c
parentMerge branch 'l2tp-fixes' (diff)
downloadkernel-f1693c63ab133d16994cc50f773982b5905af264.tar.gz
kernel-f1693c63ab133d16994cc50f773982b5905af264.zip
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: [email protected] Reviewed-by: Sowmini Varadhan <[email protected]> Signed-off-by: Santosh Shilimkar <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/rds/loop.c')
-rw-r--r--net/rds/loop.c1
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,
};