[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJusiZVq3O1rok20HyYaoJDWxjtBdvMbDtjCif+sCyKPzpXMNA@mail.gmail.com>
Date: Sun, 24 Nov 2013 09:21:57 -0800
From: Shawn Landden <shawnlandden@...il.com>
To: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
netdev@...r.kernel.org, herbert@...dor.apana.org.au,
linux-crypto@...r.kernel.org
Subject: AF_ALG buggy with sendfile
If I use sendfile() to send to a accept()ed AF_ALG socket set up for
"hash", I get the wrong
answer, if I read() and then write() I get the right answer. None of
the system calls return an error.
test case attached.
--
---
Shawn Landden
+1 360 389 3001 (SMS preferred)
View attachment "af_alg.c" of type "text/x-csrc" (976 bytes)
Powered by blists - more mailing lists