summaryrefslogtreecommitdiff
path: root/staging/layer4.c
AgeCommit message (Expand)AuthorFilesLines
2015-03-17mz: Add igmp v1/v2 packet type crafting supportVadim Kochan1-0/+101
2015-01-11mz: allow for zero udp checksumMark Latimer1-2/+4
2013-05-13staging: add mausezahn staging directoryDaniel Borkmann1-0/+884
/net-next.git/patch/?id=26f2819772af891dee2843e1f8662c58e5129d5f'>patch) treecb4b565f6982b8700cad33aa108d5bd5b7c6772a parent4633773799940b1b8b3ff98ea05e6c1ef072febd (diff)
scsi: sd: Fix wrong DPOFUA disable in sd_read_cache_type
Zoned block devices force the use of READ/WRITE(16) commands by setting sdkp->use_16_for_rw and clearing sdkp->use_10_for_rw. This result in DPOFUA always being disabled for these drives as the assumed use of the deprecated READ/WRITE(6) commands only looks at sdkp->use_10_for_rw. Strenghten the test by also checking that sdkp->use_16_for_rw is false. Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com> Reviewed-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat