diff options
author | Vlad Yasevich <vladislav.yasevich@hp.com> | 2008-08-18 10:34:34 -0400 |
---|---|---|
committer | Vlad Yasevich <vladislav.yasevich@hp.com> | 2008-10-01 11:33:06 -0400 |
commit | 52cae8f06babf9eed327479c1aa024ce3732f912 (patch) | |
tree | 2ef0dc1e4daf53735681ba7223d40058f1175092 /net/sctp/sm_statetable.c | |
parent | c226ef9b83694311327f3ab0036c6de9c22e9daf (diff) |
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: Vlad Yasevich <vladislav.yasevich@hp.com>
Diffstat (limited to 'net/sctp/sm_statetable.c')
0 files changed, 0 insertions, 0 deletions