aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorVasu Dev <[email protected]>2010-01-21 10:15:44 -0800
committerJames Bottomley <[email protected]>2010-02-17 09:56:57 -0600
commit10897ae71dd6e205969726e0f817f3327ef32f83 (patch)
tree1521dd75fa922bd42e8a91dc2d82ec6b06a7c696 /net/lapb/lapb_in.c
parentfee099b278894a1c7383a08cb3c62a5b62a134e8 (diff)
[SCSI] libfc: call ddp setup for only FCP reads to avoid accessing junk fsp pointer
Adds check to call fc_fcp_ddp_setup for only FCP read cmds to avoid accessing junk fsp pointer at least in ESX since non FCP frame had junk fsp value, though fsp is implicitly initialized to null by __alloc_skb but with this patch no more relying on fsp initialized to null value and hitting junk fsp ptr access. Removes fsp pointer checking in fc_fcp_ddp_setup as this is not needed any more since its only caller for FCP read will always have a valid fsp. Reported by: Frank Zhang <[email protected]> Reported by: Rob Love <[email protected]> Signed-off-by: Vasu Dev <[email protected]> Signed-off-by: Robert Love <[email protected]> Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions