Commit 11a2b999 authored by Andrew Morton's avatar Andrew Morton Committed by David S. Miller

[NET]: Fix broken cleanups in net/core/iovec.c

parent 8184914d
...@@ -47,9 +47,10 @@ int verify_iovec(struct msghdr *m, struct iovec *iov, char *address, int mode) ...@@ -47,9 +47,10 @@ int verify_iovec(struct msghdr *m, struct iovec *iov, char *address, int mode)
address); address);
if (err < 0) if (err < 0)
return err; return err;
m->msg_name = address; }
} else m->msg_name = address;
m->msg_name = NULL; } else {
m->msg_name = NULL;
} }
size = m->msg_iovlen * sizeof(struct iovec); size = m->msg_iovlen * sizeof(struct iovec);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment