Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 55957
b: refs/heads/master
c: 8dc4984
h: refs/heads/master
i:
  55955: 7ac7802
v: v3
  • Loading branch information
Vlad Yasevich authored and David S. Miller committed May 11, 2007
1 parent f626b4b commit 7ba0a88
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d9568ba91b1fdd1ea4fdbf9fcc76b867cca6c1d5
refs/heads/master: 8dc4984a6bdcaf56cdb458a7338c32c16f32540c
7 changes: 6 additions & 1 deletion trunk/net/sctp/socket.c
Original file line number Diff line number Diff line change
Expand Up @@ -5227,7 +5227,12 @@ int sctp_inet_listen(struct socket *sock, int backlog)
/* Allocate HMAC for generating cookie. */
if (sctp_hmac_alg) {
tfm = crypto_alloc_hash(sctp_hmac_alg, 0, CRYPTO_ALG_ASYNC);
if (!tfm) {
if (IS_ERR(tfm)) {
if (net_ratelimit()) {
printk(KERN_INFO
"SCTP: failed to load transform for %s: %ld\n",
sctp_hmac_alg, PTR_ERR(tfm));
}
err = -ENOSYS;
goto out;
}
Expand Down

0 comments on commit 7ba0a88

Please sign in to comment.