[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2f0c5ba9-9b38-f2f1-79c0-f3d6251c2c8a@oracle.com>
Date: Wed, 10 Jul 2019 22:25:28 +0800
From: Yanjun Zhu <yanjun.zhu@...cle.com>
To: Santosh Shilimkar <santosh.shilimkar@...cle.com>,
netdev@...r.kernel.org, davem@...emloft.net
Subject: Re: [net][PATCH 4/5] rds: Return proper "tos" value to user-space
On 2019/7/10 13:32, Santosh Shilimkar wrote:
> From: Gerd Rausch <gerd.rausch@...cle.com>
>
> The proper "tos" value needs to be returned
> to user-space (sockopt RDS_INFO_CONNECTIONS).
>
> Fixes: 3eb450367d08 ("rds: add type of service(tos) infrastructure")
> Signed-off-by: Gerd Rausch <gerd.rausch@...cle.com>
> Reviewed-by: Zhu Yanjun <yanjun.zhu@...cle.com>
Thanks. I am OK with this.
Zhu Yanjun
> Signed-off-by: Santosh Shilimkar <santosh.shilimkar@...cle.com>
> ---
> net/rds/connection.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/net/rds/connection.c b/net/rds/connection.c
> index 7ea134f..ed7f213 100644
> --- a/net/rds/connection.c
> +++ b/net/rds/connection.c
> @@ -736,6 +736,7 @@ static int rds_conn_info_visitor(struct rds_conn_path *cp, void *buffer)
> cinfo->next_rx_seq = cp->cp_next_rx_seq;
> cinfo->laddr = conn->c_laddr.s6_addr32[3];
> cinfo->faddr = conn->c_faddr.s6_addr32[3];
> + cinfo->tos = conn->c_tos;
> strncpy(cinfo->transport, conn->c_trans->t_name,
> sizeof(cinfo->transport));
> cinfo->flags = 0;
Powered by blists - more mailing lists