diff options
| author | Vlad Yasevich <[email protected]> | 2011-04-19 21:29:23 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2011-04-20 01:51:03 -0700 |
| commit | deb85a6ecc432a4f342004a6ac2a0dad7cba6846 (patch) | |
| tree | 45bbca28f552fe2f74202117d564ecd7cbe8ddde /include/linux/timerqueue.h | |
| parent | 0b8f9e25b0aaf5a5d9fd844a97e5c17746b865d4 (diff) | |
sctp: bail from sctp_endpoint_lookup_assoc() if not bound
The sctp_endpoint_lookup_assoc() function uses a port hash
to lookup the association and then checks to see if any of
them are on the current endpoint. However, if the current
endpoint is not bound, there can't be any associations on
it, thus we can bail early.
Signed-off-by: Vlad Yasevich <[email protected]>
Signed-off-by: Wei Yongjun <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions