diff options
author | Vlad Yasevich <vladislav.yasevich@hp.com> | 2008-08-18 16:34:34 +0200 |
---|---|---|
committer | Vlad Yasevich <vladislav.yasevich@hp.com> | 2008-10-01 17:33:06 +0200 |
commit | 52cae8f06babf9eed327479c1aa024ce3732f912 (patch) | |
tree | 2ef0dc1e4daf53735681ba7223d40058f1175092 /net/socket.c | |
parent | sctp: reduce memory footprint of sctp_chunk structure (diff) | |
download | linux-52cae8f06babf9eed327479c1aa024ce3732f912.tar.xz linux-52cae8f06babf9eed327479c1aa024ce3732f912.zip |
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/socket.c')
0 files changed, 0 insertions, 0 deletions