[stgt] [PATCH 10/14] tgt: Fix call to getnameinfo() on None Linux systems

Or Gerlitz ogerlitz at Voltaire.com
Tue Feb 24 09:45:57 CET 2009


Boaz Harrosh wrote:
> Systems other then Linux are more picky with the addr length
> passed to getnameinfo. They expect it to be set from the
> returned length of the call to getsockname.
> Also added a couple of dprints in error cases.

this patch adds return value checking in 2-3 places and does another change
related to BSD vs Linux - if you can please seperate it to two patches, then
it may be easier to see/solve the bsd issue.

Or.
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the stgt mailing list