Skip to content
Commit 52cae8f0 authored by Vlad Yasevich's avatar Vlad Yasevich
Browse files

sctp: try harder to figure out address family when checking wildcards



sctp_is_any() function that is used to check for wildcard addresses
only looks at the address itself to determine the address family.
This function is used in the API to check the address passed in from
the user.  If the user simply zerroes out the sockaddr_storage and
pass that in, we'll end up failing.  So, let's try harder to determine
the address family by also checking the socket if it's possible.

Signed-off-by: default avatarVlad Yasevich <vladislav.yasevich@hp.com>
parent c226ef9b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment