Thread (5 messages) 5 messages, 3 authors, 2019-12-10

Re: [PATCHv2 net] sctp: get netns from asoc and ep base

From: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Date: 2019-12-09 12:26:57
Also in: linux-sctp

On Mon, Dec 09, 2019 at 01:45:18PM +0800, Xin Long wrote:
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>
Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help