]> git.ipfire.org Git - people/arne_f/kernel.git/blobdiff - include/net/sctp/structs.h
sctp: cache netns in sctp_ep_common
[people/arne_f/kernel.git] / include / net / sctp / structs.h
index 94c775773f58c95156c6986e306b55b3e4862307..c1f71dd464d3b2bb4a6859d0c39c05c14951b603 100644 (file)
@@ -1181,6 +1181,9 @@ struct sctp_ep_common {
        /* What socket does this endpoint belong to?  */
        struct sock *sk;
 
+       /* Cache netns and it won't change once set */
+       struct net *net;
+
        /* This is where we receive inbound chunks.  */
        struct sctp_inq   inqueue;