netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "David S. Miller" <davem@redhat.com>
To: jkmaline@cc.hut.fi
Cc: netdev@oss.sgi.com, jgarzik@pobox.com
Subject: hostap crypto bugs
Date: Wed, 2 Jun 2004 21:36:34 -0700	[thread overview]
Message-ID: <20040602213634.11ec61bf.davem@redhat.com> (raw)


You cannot invoke virt_to_page() on addresses on the kernel stack,
and that is what the various HostAP crypto modules are doing.

This happens to work on some platforms, but it is going to explode
on others.

Allocate these little header scratch area blobs in the per-crypto-instance
structs you kmalloc instead.

             reply	other threads:[~2004-06-03  4:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-03  4:36 David S. Miller [this message]
2004-06-03  6:34 ` [PATCH wireless-2.6] Re: hostap crypto bugs Jouni Malinen
2004-06-03  6:49   ` Jeff Garzik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040602213634.11ec61bf.davem@redhat.com \
    --to=davem@redhat.com \
    --cc=jgarzik@pobox.com \
    --cc=jkmaline@cc.hut.fi \
    --cc=netdev@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).