mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-18 03:01:26 +00:00
7edf970426ada2010e8bdef32a6878fb60018da7
This patch fixes the following kernel oops: BUG: unable to handle kernel NULL pointer dereference at 0000000000000178 IP: [<ffffffffa031bbc8>] scst_acg_add_lun+0x178/0x300 [scst] Oops: 0000 [#1] PREEMPT SMP CPU: 3 PID: 7451 Comm: scstadmin Tainted: G O 3.13.0-rc3-debug+ #1 Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 RIP: 0010:[<ffffffffa031bbc8>] [<ffffffffa031bbc8>] scst_acg_add_lun+0x178/0x300 [scst] Call Trace: [<ffffffffa03222cf>] scst_proc_groups_devices_write+0x78f/0x890 [scst] [<ffffffff8119dad8>] proc_reg_write+0x38/0x70 [<ffffffff81141562>] vfs_write+0xb2/0x1f0 [<ffffffff81141c57>] SyS_write+0x47/0xa0 [<ffffffff814efdb9>] system_call_fastpath+0x16/0x1b Code: 00 00 48 8b 4d b8 49 c7 c1 80 5a 34 a0 41 b8 ce 0d 00 00 48 8b 3d c1 15 03 00 48 c7 c2 42 ba 33 a0 48 c7 c6 31 ba 33 a0 48 8b 01 <48> 8b 80 78 01 00 00 48 89 44 24 20 8b 45 a4 89 44 24 18 48 8b RIP [<ffffffffa031bbc8>] scst_acg_add_lun+0x178/0x300 [scst] RSP <ffff88001f4a9de8> CR2: 0000000000000178 This regression was introduced in commit "Small logging improvement" (trunk r4838; 2013-04-12). Signed-off-by: Sebastian Herbszt <herbszt@gmx.de> git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5198 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This is the SCST development repository. It contains not a single project SCST as one can think, but a number of them, which are divided as the following: 1. SCST core in scst/ subdirectory 2. Administration utility for SCST core scstadmin in scstadmin/ 3. Target drivers in own subdirectories qla2x00t/, iscsi-scst/, etc. 4. User space programs in usr/ subdirectory, like fileio_tgt. 5. Some various docs in doc/ subdirectory. Those subprojects are in most cases independent from each other, although some of them depend from the SCST core. They put in the single repository only to simplify their development, they are released independently. Thus, use "make all" only if you really need to build everything. Otherwise build only what you need, like for iSCSI-SCST: make scst scst_install iscsi iscsi_install For more information about each subproject see their README files. Vladislav Bolkhovitin <vst@vlnb.net>, http://scst.sourceforge.net
Description
Languages
C
90.1%
Perl
4.2%
Shell
1.8%
HTML
1.7%
Makefile
1.2%
Other
0.9%