changeset 39332:fb89ae03b420

af_alg: Improve comments. * lib/af_alg.c (afalg_stream): Improve comment about kernel bug.
author Bruno Haible <bruno@clisp.org>
date Sun, 06 May 2018 02:39:38 +0200
parents f746c4e8a816
children 76337599254f
files ChangeLog lib/af_alg.c
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sat May 05 20:27:33 2018 +0200
+++ b/ChangeLog	Sun May 06 02:39:38 2018 +0200
@@ -1,3 +1,8 @@
+2018-05-05  Bruno Haible  <bruno@clisp.org>
+
+	af_alg: Improve comments.
+	* lib/af_alg.c (afalg_stream): Improve comment about kernel bug.
+
 2018-05-05  Bruno Haible  <bruno@clisp.org>
 
 	af_alg: New module.
--- a/lib/af_alg.c	Sat May 05 20:27:33 2018 +0200
+++ b/lib/af_alg.c	Sun May 06 02:39:38 2018 +0200
@@ -96,8 +96,8 @@
           ret = -EIO;
           goto out_ofd;
         }
-      /* On Linux 4.4.0 at least, the value for an empty stream is wrong
-         (all zeroes).  */
+      /* On Linux < 4.9, the value for an empty stream is wrong (all zeroes).
+         See <https://patchwork.kernel.org/patch/9434741/>.  */
       if (!non_empty)
         {
           ret = -EAFNOSUPPORT;