[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-sctp
Subject:    Re: [PATCHv2 net] sctp: get netns from asoc and ep base
From:       David Miller <davem () davemloft ! net>
Date:       2019-12-10 4:14:19
Message-ID: 20191209.201419.1322197127670226216.davem () davemloft ! net
[Download RAW message or body]

From: Xin Long <lucien.xin@gmail.com>
Date: Tue, 10 Dec 2019 12:03:17 +0800

> On Tue, Dec 10, 2019 at 2:14 AM David Miller <davem@davemloft.net> wrote:
>>
>> From: Xin Long <lucien.xin@gmail.com>
>> Date: Mon,  9 Dec 2019 13:45:18 +0800
>>
>> > Commit 312434617cb1 ("sctp: cache netns in sctp_ep_common") set netns
>> > in asoc and ep base since they're created, and it will never change.
>> > It's a better way to get netns from asoc and ep base, comparing to
>> > calling sock_net().
>> >
>> > This patch is to replace them.
>> >
>> > v1->v2:
>> >   - no change.
>> >
>> > Suggested-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
>> > Signed-off-by: Xin Long <lucien.xin@gmail.com>
>> > Acked-by: Neil Horman <nhorman@tuxdriver.com>
>>
>> This looks like a cleanup rather than a bug fix, so net-next right?
> Yes, a cleanup, and net-next should be better.

Great, applied to net-next.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic