diff options
| author | Wei Yongjun <[email protected]> | 2018-03-13 03:03:30 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-03-13 10:45:11 -0400 |
| commit | d98985dd6c2dc69e2ad5f5482a5237fb9487ed99 (patch) | |
| tree | 21097e43f65b8a39a64c823d1b1edd26d4d42574 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 7083a45ad0df78546b3a735f0090b075efdf44e3 (diff) | |
sctp: fix error return code in sctp_sendmsg_new_asoc()
Return error code -EINVAL in the address len check error handling
case since 'err' can be overwrite to 0 by 'err = sctp_verify_addr()'
in the for loop.
Fixes: 2c0dbaa0c43d ("sctp: add support for SCTP_DSTADDRV4/6 Information for sendmsg")
Signed-off-by: Wei Yongjun <[email protected]>
Acked-by: Neil Horman <[email protected]>
Reviewed-by: Xin Long <[email protected]>
Acked-by: Neil Horman <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions