[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CALCETrXezCXy4N7wMjYdr+U1A9Avda5bVxTxOQZswinh62gbvw@mail.gmail.com>
Date: Fri, 24 Jun 2016 18:51:17 -0700
From: Andy Lutomirski <luto@...capital.net>
To: Herbert Xu <herbert@...dor.apana.org.au>,
Network Development <netdev@...r.kernel.org>
Cc: Eric Dumazet <eric.dumazet@...il.com>
Subject: tcp md5: one more crypto-sg-on-the-stack instance
Hi all-
tcp_md5_hash_header does crypto using an sg that points to the stack.
This will break with virtually mapped stacks. It also looks like it's
probably much slower than it deserves to be (it's trying to compute
the MD5 hash of a few tens of bytes -- going through a scatterlist is
a lot of overhead for an otherwise very fast operation).
I don't suppose one of you could fix it or at least advise as to how
it should be fixed.
Thanks,
Andy
Powered by blists - more mailing lists