commit | 2856830bd395fbc2f0c5327effe71fb025dd262d | [log] [tgz] |
---|---|---|
author | Karen Xie <kxie@chelsio.com> | Sat Jan 10 19:06:07 2009 -0800 |
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | Tue Jan 13 10:41:34 2009 -0600 |
tree | 213afd49b7705e653f6273db1183befde67068ed | |
parent | 2f4c782c2e06fbaef2ac2b6b7abd796b96abd98b [diff] |
[SCSI] iscsi_tcp: make padbuf non-static virt_to_page() call should not be used on kernel text and data addresses. virt_to_page() is used by sg_init_one(). So change padbuf to be allocated within iscsi_segment. Signed-off-by: Karen Xie <kxie@chelsio.com> Acked-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>