diff options
| author | Neil Horman <[email protected]> | 2007-06-18 19:59:16 -0400 |
|---|---|---|
| committer | Vlad Yasevich <[email protected]> | 2007-06-19 09:47:32 -0400 |
| commit | 186e234358ba29a4094d0c8c0d3ea00f84d32a3e (patch) | |
| tree | 656674d40530aac38ff79abd7be67a3ff3c5e49e /include/linux/debugobjects.h | |
| parent | 408f22e81ea2fcf96c80e85ee12d20ef5148bf7c (diff) | |
SCTP: Fix sctp_getsockopt_get_peer_addrs
This is the split out of the patch that we agreed I should split
out from my last patch. It changes space_left to be computed in the same
way the to variable is. I know we talked about changing space_left to an
int, but I think size_t is more appropriate, since we should never have
negative space in our buffer, and computing using offsetof means space_left
should now never drop below zero.
Signed-off-by: Neil Horman <[email protected]>
Acked-by: Sridhar Samudrala <[email protected]>
Signed-off-by: Vlad Yasevich <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions