summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMike Christie <michaelc@cs.wisc.edu>2011-10-06 04:16:03 -0500
committerMike Christie <michaelc@cs.wisc.edu>2011-10-06 04:16:03 -0500
commitc4aee089c879ee51c93d9cb48cd7a521efc667b2 (patch)
tree14045c97612fc61a2cba982146d472f21a3c4ce8 /include
parentca6328cfaf44e7f6a525906677bfbf513a756b2e (diff)
downloadopen-iscsi-c4aee089c879ee51c93d9cb48cd7a521efc667b2.tar.gz
iscsi tools: fix netlink msg setup
This fixes a regression added in deef9e20c2f1b107760b5b4c29289de77fcdc39f and fixes a alignment issue with the new iface netconfig support. The regression was added when we changed how we sent the netlink message header and data from one blob to iovecs. The nlmsg_len was not tracking the header so the kernel was misreading how much data it had to read. This would lead to iscsiadm hanging because logins were not getting completed. This also fixes a issue where the data was not padded so when sending multiple params the params would not start at nice boundaries and could cause unaligned access errors.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions