Commit 95ade38c authored by Andrew Morton's avatar Andrew Morton Committed by David Mosberger

[PATCH] fix broken networking

Fix broken "cleanup"
parent 9be2217a
...@@ -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