diff options
| author | Yi Zou <[email protected]> | 2009-07-29 17:05:32 -0700 |
|---|---|---|
| committer | James Bottomley <[email protected]> | 2009-08-22 17:52:10 -0500 |
| commit | 537029f8e950776951ca2a3fe30121d5c05643d1 (patch) | |
| tree | 98a6cbdf513eb5c1d73c2b356dc33f65e7cfd899 /tools/perf/scripts/python | |
| parent | 15a521b4243f3d61971f8422f3e514ef009a42b8 (diff) | |
[SCSI] libfc: Remove FC_FRAME_SG_LEN in fc_fcp_send_data
FC_FRAME_SG_LEN is 4 which is too small when offload is enabled. Actually, the
WARN_ON() in fc_fcp_send_data() should be:
WARN_ON(skb_shinfo(fp_skb(fp))->nr_frags > MAX_SKB_FRAGS);
But since we will not get anything more than 64K anyway, so there is no need
to do this anyway here. Therefore, I am getting rid of FC_FRAME_SG_LEN here
and the WARN_ON here.
Signed-off-by: Yi Zou <[email protected]>
Signed-off-by: Robert Love <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions