From 95ade38cc36ac9fddefae743f6db97556865b5a7 Mon Sep 17 00:00:00 2001 From: Andrew Morton <akpm@digeo.com> Date: Wed, 4 Jun 2003 08:25:07 -0700 Subject: [PATCH] [PATCH] fix broken networking Fix broken "cleanup" --- net/core/iovec.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/net/core/iovec.c b/net/core/iovec.c index 80a69f7cdd7a..42b8fd717d4f 100644 --- a/net/core/iovec.c +++ b/net/core/iovec.c @@ -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); -- 2.30.9