diff options
author | Xin Long <lucien.xin@gmail.com> | 2019-07-30 15:38:20 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-07-31 00:18:14 +0300 |
commit | f40f1177c38cb642b65af9f077bc56241e2b41c2 (patch) | |
tree | 1fc1e6723a62d40201a928691749e89b15966a8e /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 4c31bc6b1e2ee9c21608506431783dfa525b9989 (diff) | |
download | linux-f40f1177c38cb642b65af9f077bc56241e2b41c2.tar.xz |
sctp: check addr_size with sa_family_t size in __sctp_setsockopt_connectx
Now __sctp_connect() is called by __sctp_setsockopt_connectx() and
sctp_inet_connect(), the latter has done addr_size check with size
of sa_family_t.
In the next patch to clean up __sctp_connect(), we will remove
addr_size check with size of sa_family_t from __sctp_connect()
for the 1st address.
So before doing that, __sctp_setsockopt_connectx() should do
this check first, as sctp_inet_connect() does.
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions