projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'x86-mpx-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[deliverable/linux.git]
/
crypto
/
af_alg.c
diff --git
a/crypto/af_alg.c
b/crypto/af_alg.c
index 68ff1137dd70059e893a08a1f8f57099bff337e4..1fa7bc31be63b9fb774782ebe3fbdaed0b16ff72 100644
(file)
--- a/
crypto/af_alg.c
+++ b/
crypto/af_alg.c
@@
-399,7
+399,7
@@
int af_alg_cmsg_send(struct msghdr *msg, struct af_alg_control *con)
{
struct cmsghdr *cmsg;
{
struct cmsghdr *cmsg;
- for
(cmsg = CMSG_FIRSTHDR(msg); cmsg; cmsg = CMSG_NXTHDR(msg, cmsg)
) {
+ for
_each_cmsghdr(cmsg, msg
) {
if (!CMSG_OK(msg, cmsg))
return -EINVAL;
if (cmsg->cmsg_level != SOL_ALG)
if (!CMSG_OK(msg, cmsg))
return -EINVAL;
if (cmsg->cmsg_level != SOL_ALG)
This page took
0.026967 seconds
and
5
git commands to generate.