From: David Miller <davem@davemloft.net>
To: xiyou.wangcong@gmail.com
Cc: netdev@vger.kernel.org, ktkhai@virtuozzo.com
Subject: Re: [Patch net-next] ipv4: initialize ra_mutex in inet_init_net()
Date: Mon, 17 Sep 2018 08:02:41 -0700 (PDT) [thread overview]
Message-ID: <20180917.080241.1490822309230587629.davem@davemloft.net> (raw)
In-Reply-To: <20180914203242.2712-1-xiyou.wangcong@gmail.com>
From: Cong Wang <xiyou.wangcong@gmail.com>
Date: Fri, 14 Sep 2018 13:32:42 -0700
> ra_mutex is a IPv4 specific mutex, it is inside struct netns_ipv4,
> but its initialization is in the generic netns code, setup_net().
>
> Move it to IPv4 specific net init code, inet_init_net().
>
> Fixes: d9ff3049739e ("net: Replace ip_ra_lock with per-net mutex")
> Cc: Kirill Tkhai <ktkhai@virtuozzo.com>
> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Please take into consideration Kirill's feedback.
Thank you.
prev parent reply other threads:[~2018-09-17 20:30 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-14 20:32 [Patch net-next] ipv4: initialize ra_mutex in inet_init_net() Cong Wang
2018-09-17 7:25 ` Kirill Tkhai
2018-09-18 20:17 ` Cong Wang
2018-09-19 8:25 ` Kirill Tkhai
2018-09-19 21:28 ` Cong Wang
2018-09-20 9:04 ` Kirill Tkhai
2018-09-20 17:05 ` Cong Wang
2018-09-17 15:02 ` David Miller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180917.080241.1490822309230587629.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=ktkhai@virtuozzo.com \
--cc=netdev@vger.kernel.org \
--cc=xiyou.wangcong@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).