diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2011-10-06 04:16:03 -0500 |
---|---|---|
committer | Mike Christie <michaelc@cs.wisc.edu> | 2011-10-06 04:16:03 -0500 |
commit | c4aee089c879ee51c93d9cb48cd7a521efc667b2 (patch) | |
tree | 14045c97612fc61a2cba982146d472f21a3c4ce8 /include/iscsi_if.h | |
parent | ca6328cfaf44e7f6a525906677bfbf513a756b2e (diff) | |
download | open-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/iscsi_if.h')
0 files changed, 0 insertions, 0 deletions