]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] iscsi: fix setting of pid from netlink skb
authorMike Christie <michaelc@cs.wisc.edu>
Fri, 27 Jan 2012 03:13:09 +0000 (21:13 -0600)
committerJames Bottomley <JBottomley@Parallels.com>
Sun, 19 Feb 2012 14:09:00 +0000 (08:09 -0600)
commit3b0229398f7962b63b621cb47f6f62dcd3e40eef
treeb6a68a201f9c81853c595e49f099464e3945de22
parentb496d3f6705347891bd9a934b187d6b4c3941d4a
[SCSI] iscsi: fix setting of pid from netlink skb

NETLINK_CREDS's pid now returns 0, so I guess we are supposed to
be using NETLINK_CB. This changed while the patch to export the
pid was getting merged upstream, so it was not noticed until both
the network and iscsi changes were in the same tree.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Cc: stable@kernel.org
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/scsi_transport_iscsi.c