summaryrefslogtreecommitdiffstats
path: root/fs/squashfs
diff options
context:
space:
mode:
authorVlad Yasevich <vladislav.yasevich@hp.com>2011-04-19 23:29:23 +0200
committerDavid S. Miller <davem@davemloft.net>2011-04-20 10:51:03 +0200
commitdeb85a6ecc432a4f342004a6ac2a0dad7cba6846 (patch)
tree45bbca28f552fe2f74202117d564ecd7cbe8ddde /fs/squashfs
parentsctp: remove completely unsed EMPTY state (diff)
downloadlinux-deb85a6ecc432a4f342004a6ac2a0dad7cba6846.tar.xz
linux-deb85a6ecc432a4f342004a6ac2a0dad7cba6846.zip
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 <vladislav.yasevich@hp.com> Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/squashfs')
0 files changed, 0 insertions, 0 deletions