]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[PPP_MPPE]: Don't put InterimKey on the stack
authorMichal Schmidt <mschmidt@redhat.com>
Tue, 13 Nov 2007 06:48:46 +0000 (07:48 +0100)
committerAdrian Bunk <bunk@kernel.org>
Tue, 13 Nov 2007 06:48:46 +0000 (07:48 +0100)
commit6833f471eca59e676aa103001c82eb027e74ac7c
treef7c7b92e1f65742a2621e82df561b35da68d0d6c
parent674ce0f35d6c917824ff772c9f87f6a1102192b2
[PPP_MPPE]: Don't put InterimKey on the stack

ppp_mppe puts a crypto key on the kernel stack, then passes the
address of that into the crypto layer.  That doesn't work because the
crypto layer needs to be able to do virt_to_*() on the address which
does not universally work for the kernel stack on all platforms.

Adrian Bunk:
Backported to 2.6.16.

Signed-off-by: Michal Schmidt <mschmidt@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
drivers/net/ppp_mppe.c