<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-dev/drivers/scsi/be2iscsi/be_cmds.c, branch linus/master</title>
<subtitle>Linux kernel development work - see feature branches</subtitle>
<id>https://git.zx2c4.com/linux-dev/atom/drivers/scsi/be2iscsi/be_cmds.c?h=linus%2Fmaster</id>
<link rel='self' href='https://git.zx2c4.com/linux-dev/atom/drivers/scsi/be2iscsi/be_cmds.c?h=linus%2Fmaster'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/'/>
<updated>2019-06-05T15:37:07Z</updated>
<entry>
<title>treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 338</title>
<updated>2019-06-05T15:37:07Z</updated>
<author>
<name>Thomas Gleixner</name>
<email>tglx@linutronix.de</email>
</author>
<published>2019-05-29T23:57:52Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=6e9ef5098c12b53a4df060c8f1fda83f4112f08a'/>
<id>urn:sha1:6e9ef5098c12b53a4df060c8f1fda83f4112f08a</id>
<content type='text'>
Based on 1 normalized pattern(s):

  this program is free software you can redistribute it and or modify
  it under the terms of the gnu general public license version 2 as
  published by the free software foundation the full gnu general
  public license is included in this distribution in the file called
  copying

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-only

has been chosen to replace the boilerplate/reference in 14 file(s).

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Reviewed-by: Allison Randal &lt;allison@lohutok.net&gt;
Reviewed-by: Alexios Zavras &lt;alexios.zavras@intel.com&gt;
Cc: linux-spdx@vger.kernel.org
Link: https://lkml.kernel.org/r/20190530000436.856338015@linutronix.de
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>scsi: be2iscsi: lpfc: fix typo</title>
<updated>2019-03-19T21:38:20Z</updated>
<author>
<name>Matteo Croce</name>
<email>mcroce@redhat.com</email>
</author>
<published>2019-01-04T21:38:54Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=92684bfc9b163175f43624d8d781f9ef74ff0fee'/>
<id>urn:sha1:92684bfc9b163175f43624d8d781f9ef74ff0fee</id>
<content type='text'>
Fix spelling mistake: "lenght" -&gt; "length"

Signed-off-by: Matteo Croce &lt;mcroce@redhat.com&gt;
Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
</content>
</entry>
<entry>
<title>scsi: be2iscsi: switch to generic DMA API</title>
<updated>2018-10-18T01:58:52Z</updated>
<author>
<name>Christoph Hellwig</name>
<email>hch@lst.de</email>
</author>
<published>2018-10-10T16:22:24Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=26a4c991af99f1f6632c0cf253a332a29edd2681'/>
<id>urn:sha1:26a4c991af99f1f6632c0cf253a332a29edd2681</id>
<content type='text'>
Switch from the legacy PCI DMA API to the generic DMA API.

Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
Reviewed-by: Johannes Thumshirn &lt;jthumshirn@suse.de&gt;
Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
</content>
</entry>
<entry>
<title>scsi: be2iscsi: Include null char in SET_HOST_DATA</title>
<updated>2018-06-20T02:02:25Z</updated>
<author>
<name>Jitendra Bhivare</name>
<email>jitendra.bhivare@broadcom.com</email>
</author>
<published>2018-06-07T08:24:41Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=a81dde7e0216d2520f04027d0dfbb94d9713e8b4'/>
<id>urn:sha1:a81dde7e0216d2520f04027d0dfbb94d9713e8b4</id>
<content type='text'>
FW needs NULL terminated driver version string.

Signed-off-by: Ketan Mukadam &lt;ketan.mukadam@broadcom.com&gt;
Reviewed-by: Jitendra Bhivare &lt;jitendra.bhivare@broadcom.com&gt;
Signed-off-by: Jitendra Bhivare &lt;jitendra.bhivare@broadcom.com&gt;
Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
</content>
</entry>
<entry>
<title>scsi: be2iscsi: Remove A-circumflex character in copyright marking</title>
<updated>2017-10-11T18:18:30Z</updated>
<author>
<name>Jitendra Bhivare</name>
<email>jitendra.bhivare@broadcom.com</email>
</author>
<published>2017-10-10T10:48:19Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=0172dc65623e037c90d7dd50d0168e75984427a9'/>
<id>urn:sha1:0172dc65623e037c90d7dd50d0168e75984427a9</id>
<content type='text'>
Signed-off-by: Jitendra Bhivare &lt;jitendra.bhivare@broadcom.com&gt;
Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
</content>
</entry>
<entry>
<title>scsi: be2iscsi: Fix misc static analysis errors</title>
<updated>2017-10-11T18:18:30Z</updated>
<author>
<name>Jitendra Bhivare</name>
<email>jitendra.bhivare@broadcom.com</email>
</author>
<published>2017-10-10T10:48:18Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=45efc940678ec813f2e6bc4fc45f9f19e686a3b8'/>
<id>urn:sha1:45efc940678ec813f2e6bc4fc45f9f19e686a3b8</id>
<content type='text'>
The patch fixes errors reported by tools like smatch:
 - removes unused structure fields
 - removes dead code
 - fixes code identation

Signed-off-by: Jitendra Bhivare &lt;jitendra.bhivare@broadcom.com&gt;
Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
</content>
</entry>
<entry>
<title>scsi: be2iscsi: Add cmd to set host data</title>
<updated>2017-10-11T18:18:29Z</updated>
<author>
<name>Jitendra Bhivare</name>
<email>jitendra.bhivare@broadcom.com</email>
</author>
<published>2017-10-10T10:48:17Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=1cb3c3fd60361f0e900af8e7ecdcd65bed70ab08'/>
<id>urn:sha1:1cb3c3fd60361f0e900af8e7ecdcd65bed70ab08</id>
<content type='text'>
Provide driver version in host data to FW.

Signed-off-by: Jitendra Bhivare &lt;jitendra.bhivare@broadcom.com&gt;
Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
</content>
</entry>
<entry>
<title>scsi: be2iscsi: Fix _modify_eq_delay buffer overflow</title>
<updated>2017-10-11T18:18:29Z</updated>
<author>
<name>Jitendra Bhivare</name>
<email>jitendra.bhivare@broadcom.com</email>
</author>
<published>2017-10-10T10:48:14Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=a39e9f71e5ed718256681f73740e866c8e572ec6'/>
<id>urn:sha1:a39e9f71e5ed718256681f73740e866c8e572ec6</id>
<content type='text'>
beiscsi_modify_eq_delay is using embedded command to send request of 788
bytes in 236 bytes buffer. Non-embedded command needs to be used in such
cases.

Use mgmt_alloc_cmd_data fn modified to allow passing of subsystem.  Use
mgmt_exec_nonemb_cmd fn modified to allow setting of callback.

Signed-off-by: Jitendra Bhivare &lt;jitendra.bhivare@broadcom.com&gt;
Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
</content>
</entry>
<entry>
<title>scsi: be2iscsi: Update Copyright</title>
<updated>2017-03-28T02:03:41Z</updated>
<author>
<name>Jitendra Bhivare</name>
<email>jitendra.bhivare@broadcom.com</email>
</author>
<published>2017-03-24T08:41:48Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=942b76542ea042a1cb7d51ce493865f892f0fe00'/>
<id>urn:sha1:942b76542ea042a1cb7d51ce493865f892f0fe00</id>
<content type='text'>
Update Broadcom Copyright markings in all files.

Signed-off-by: Jitendra Bhivare &lt;jitendra.bhivare@broadcom.com&gt;
Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
</content>
</entry>
<entry>
<title>scsi: be2iscsi: Check tag in beiscsi_mccq_compl_wait</title>
<updated>2017-03-28T02:03:04Z</updated>
<author>
<name>Jitendra Bhivare</name>
<email>jitendra.bhivare@broadcom.com</email>
</author>
<published>2017-03-24T08:41:40Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=eb419229be58dc6d4a3a814116a265908e088c39'/>
<id>urn:sha1:eb419229be58dc6d4a3a814116a265908e088c39</id>
<content type='text'>
scsi host12: BS_1377 : mgmt_invalidate_connection Failed for cid=256
BUG: unable to handle kernel NULL pointer dereference at 0000000000000008
IP: [&lt;ffffffff81332ebf&gt;] __list_add+0xf/0xc0
PGD 0
Oops: 0000 [#1] SMP
Modules linked in:
...
CPU: 9 PID: 1542 Comm: iscsid Tainted: G               ------------ T 3.10.0-514.el7.x86_64 #1
Hardware name: HP ProLiant DL360 Gen9/ProLiant DL360 Gen9, BIOS P89 09/12/2016
task: ffff88076f310fb0 ti: ffff88076bba8000 task.ti: ffff88076bba8000
RIP: 0010:[&lt;ffffffff81332ebf&gt;]  [&lt;ffffffff81332ebf&gt;] __list_add+0xf/0xc0
RSP: 0018:ffff88076bbab8e8  EFLAGS: 00010046
RAX: 0000000000000246 RBX: ffff88076bbab990 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffff880468badf58 RDI: ffff88076bbab990
RBP: ffff88076bbab900 R08: 0000000000000246 R09: 00000000000020de
R10: 0000000000000000 R11: ffff88076bbab5be R12: 0000000000000000
R13: ffff880468badf58 R14: 000000000001adb0 R15: ffff88076f310fb0
FS:  00007f377124a880(0000) GS:ffff88046fa40000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000008 CR3: 0000000771318000 CR4: 00000000001407e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Stack:
ffff88076bbab990 ffff880468badf50 0000000000000001 ffff88076bbab938
ffffffff810b128b 0000000000000246 00000000cf9b7040 ffff880468bac7a0
0000000000000000 ffff880468bac7a0 ffff88076bbab9d0 ffffffffa05a6ea3

Call Trace:
[&lt;ffffffff810b128b&gt;] prepare_to_wait+0x7b/0x90
[&lt;ffffffffa05a6ea3&gt;] beiscsi_mccq_compl_wait+0x153/0x330 [be2iscsi]
[&lt;ffffffff810b1600&gt;] ? wake_up_atomic_t+0x30/0x30
[&lt;ffffffffa05981b1&gt;] beiscsi_ep_disconnect+0x91/0x2d0 [be2iscsi]
[&lt;ffffffffa0202ffa&gt;] iscsi_if_ep_disconnect.isra.14+0x5a/0x70 [scsi_transport_iscsi]
[&lt;ffffffffa02042fb&gt;] iscsi_if_recv_msg+0x113b/0x14a0 [scsi_transport_iscsi]
[&lt;ffffffff811dffd8&gt;] ? __kmalloc_node_track_caller+0x58/0x290
[&lt;ffffffffa02046ee&gt;] iscsi_if_rx+0x8e/0x1f0 [scsi_transport_iscsi]
[&lt;ffffffff815a351d&gt;] netlink_unicast+0xed/0x1b0
[&lt;ffffffff815a38fe&gt;] netlink_sendmsg+0x31e/0x690
[&lt;ffffffff815a03e4&gt;] ? netlink_rcv_wake+0x44/0x60
[&lt;ffffffff815a19e3&gt;] ? netlink_recvmsg+0x1e3/0x450

beiscsi_mccq_compl_wait gets called even when MCC tag allocation failed
for mgmt_invalidate_connection.  mcc_wait is not initialized for tag 0
so causes crash in prepare_to_wait.

Signed-off-by: Jitendra Bhivare &lt;jitendra.bhivare@broadcom.com&gt;
Reviewed-by: Tomas Henzl &lt;thenzl@redhat.com&gt;
Reviewed-by: Chris Leech &lt;cleech@redhat.com&gt;
Signed-off-by: Martin K. Petersen &lt;martin.petersen@oracle.com&gt;
</content>
</entry>
</feed>
