projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6932f11
)
sctp: fix bogus if statement in sctp_auth_recv_cid()
author
Dan Carpenter
<
[email protected]
>
Thu, 16 Aug 2012 03:16:19 +0000
(
03:16
+0000)
committer
David S. Miller
<
[email protected]
>
Thu, 16 Aug 2012 20:36:29 +0000
(13:36 -0700)
There is an extra semi-colon here, so we always return 0 instead of
calling __sctp_auth_cid().
Signed-off-by: Dan Carpenter <
[email protected]
>
Reviewed-by: "Eric W. Biederman" <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
net/sctp/auth.c
patch
|
blob
|
history
diff --git
a/net/sctp/auth.c
b/net/sctp/auth.c
index aaa6c121ecce447e373ac47cfc5fffcc5ac36e23..159b9bc5d63300e53560cf6495f8f65b9fd06449 100644
(file)
--- a/
net/sctp/auth.c
+++ b/
net/sctp/auth.c
@@
-695,7
+695,7
@@
int sctp_auth_recv_cid(sctp_cid_t chunk, const struct sctp_association *asoc)
return 0;
net = sock_net(asoc->base.sk);
- if (!net->sctp.auth_enable)
;
+ if (!net->sctp.auth_enable)
return 0;
return __sctp_auth_cid(chunk,