|
@@ -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)
|
|
sizeof(struct scatterlist) - 1)
|
|
|
|
|
|
static inline int skcipher_sndbuf(struct sock *sk)
|
|
static inline int skcipher_sndbuf(struct sock *sk)
|