[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150207.224221.1054400171798732184.davem@davemloft.net>
Date: Sat, 07 Feb 2015 22:42:21 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: sowmini.varadhan@...cle.com
Cc: chien.yen@...cle.com, rds-devel@....oracle.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
viro@...iv.linux.org.uk
Subject: Re: [PATCHv2] rds: Make rds_message_copy_from_user() return 0 on
success.
From: Sowmini Varadhan <sowmini.varadhan@...cle.com>
Date: Thu, 5 Feb 2015 17:41:43 -0500
> Commit 083735f4b01b ("rds: switch rds_message_copy_from_user() to iov_iter")
> breaks rds_message_copy_from_user() semantics on success, and causes it
> to return nbytes copied, when it should return 0. This commit fixes that bug.
>
> Signed-off-by: Sowmini Varadhan <sowmini.varadhan@...cle.com>
> ---
> changes from v1: incorporate Al.Viro comment.
Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists