net/9p: Initialize opts->privport as it should be.
[firefly-linux-kernel-4.4.55.git] / net / 9p / trans_fd.c
index c73b894846c17db57bc1b74440618e06e897cdcc..154479d2756d8d88487c17d3f659871fcb59d828 100644 (file)
@@ -734,6 +734,7 @@ static int parse_opts(char *params, struct p9_fd_opts *opts)
        opts->port = P9_PORT;
        opts->rfd = ~0;
        opts->wfd = ~0;
+       opts->privport = 0;
 
        if (!params)
                return 0;