Skip to content

Commit 6049d95

Browse files
Joe EykholtJames Bottomley
authored andcommitted
[SCSI] libfc: fix RNN_ID smashing skb payload
The code that filled in the name server RNN_ID (register node name) request had somehow gotten a line in it from the RFT_ID code which copies 32 bytes of data over the relatively short payload. This caused some corruption and hangs. Simply deleted the extraneous line. Signed-off-by: Joe Eykholt <jeykholt@cisco.com> Signed-off-by: Robert Love <robert.w.love@intel.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
1 parent 59d9251 commit 6049d95

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎include/scsi/fc_encode.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,6 @@ static inline int fc_ct_fill(struct fc_lport *lport,
134134
ct = fc_ct_hdr_fill(fp, op, sizeof(struct fc_ns_rn_id));
135135
hton24(ct->payload.rn.fr_fid.fp_fid,
136136
fc_host_port_id(lport->host));
137-
ct->payload.rft.fts = lport->fcts;
138137
put_unaligned_be64(lport->wwnn, &ct->payload.rn.fr_wwn);
139138
break;
140139

0 commit comments

Comments
 (0)