Xin Long 4e7696d90b sctp: get netns from asoc and ep base
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-12-09 20:14:01 -08:00
..
2019-09-27 15:10:34 -07:00
2019-11-18 19:32:59 -08:00
2019-07-12 16:03:16 -07:00
2019-09-26 08:56:17 +02:00
2019-11-27 11:06:20 -08:00
2019-11-26 14:40:13 -08:00
2019-11-08 11:36:48 -08:00
2019-11-24 16:58:44 -08:00