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)
address);
if (err < 0)
return err;
m->msg_name = address;
} else
m->msg_name = NULL;
}
m->msg_name = address;
} else {
m->msg_name = NULL;
}
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