summaryrefslogtreecommitdiff
path: root/include/net/datalink.h
diff options
context:
space:
mode:
authorNicholas Bellinger <nab@linux-iscsi.org>2012-12-05 11:43:57 +0400
committerNicholas Bellinger <nab@linux-iscsi.org>2012-12-05 12:11:36 +0400
commit0ff8754981261a80f4b77db2536dfea92c2d4539 (patch)
tree47f1e6c46a77542fabc39ec3003183a5847045cf /include/net/datalink.h
parent3e4f574857eebce60bb56d7524f3f9eaa2a126d0 (diff)
downloadlinux-0ff8754981261a80f4b77db2536dfea92c2d4539.tar.xz
target: Add link_magic for fabric allow_link destination target_items
This patch adds [dev,lun]_link_magic value assignment + checks within generic target_fabric_port_link() and target_fabric_mappedlun_link() code to ensure destination config_item *target_item sent from configfs_symlink() -> config_item_operations->allow_link() is the underlying se_device->dev_group and se_lun->lun_group that we expect to symlink. Reported-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Cc: stable@vger.kernel.org Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'include/net/datalink.h')
0 files changed, 0 insertions, 0 deletions