projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'lsk/v3.10/topic/of' into linux-linaro-lsk
[firefly-linux-kernel-4.4.55.git]
/
crypto
/
algif_skcipher.c
diff --git
a/crypto/algif_skcipher.c
b/crypto/algif_skcipher.c
index a19c027b29bde504ac8eae4b4572947a69ed2335..83187f497c7c65dddd2248170a50976e568d82e5 100644
(file)
--- a/
crypto/algif_skcipher.c
+++ b/
crypto/algif_skcipher.c
@@
-49,7
+49,7
@@
struct skcipher_ctx {
struct ablkcipher_request req;
};
struct ablkcipher_request req;
};
-#define MAX_SGL_ENTS ((
PAGE_SIZE
- sizeof(struct skcipher_sg_list)) / \
+#define MAX_SGL_ENTS ((
4096
- sizeof(struct skcipher_sg_list)) / \
sizeof(struct scatterlist) - 1)
static inline int skcipher_sndbuf(struct sock *sk)
sizeof(struct scatterlist) - 1)
static inline int skcipher_sndbuf(struct sock *sk)