https://github.com/torvalds/linux
Revision 64c6460875957502541a4ba30835ac625a0bee79 authored by Michael Chan on 14 August 2009, 15:49:43 UTC, committed by David S. Miller on 16 August 2009, 01:50:42 UTC
When the cnic driver tries to grab a symbol from bnx2 when bnx2 is
running init code, symbol_get() will succeed but symbol_put_addr()
will hit BUG() a moment later.  module_text_address() fails because
bnx2 is still in init code.

This is fixed by using symbol_put() instead which does the exact
opposite of symbol_get().

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 8cdb045
History
Tip revision: 64c6460875957502541a4ba30835ac625a0bee79 authored by Michael Chan on 14 August 2009, 15:49:43 UTC
cnic: Fix symbol_put_addr() panic on ia64.
Tip revision: 64c6460
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 952 bytes
.mailmap -rw-r--r-- 3.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.8 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 148.3 KB
Makefile -rw-r--r-- 53.9 KB
README -rw-r--r-- 17.0 KB
REPORTING-BUGS -rw-r--r-- 3.1 KB

README

back to top