Print this page
sctp: align to cache line

@@ -443,10 +443,13 @@
 #define SCTP_LISTEN_HASH(lport) (((lport) * 31) & (SCTP_LISTEN_FANOUT_SIZE - 1))
 
 typedef struct sctp_tf_s {
         struct sctp_s   *tf_sctp;
         kmutex_t        tf_lock;
+#define SF_CACHEL_PAD   64
+        uchar_t         tf_pad[SF_CACHEL_PAD - (sizeof (struct sctp_s *) +
+                            sizeof (kmutex_t))];
 } sctp_tf_t;
 
 /* Round up the value to the nearest mss. */
 #define MSS_ROUNDUP(value, mss)         ((((value) - 1) / (mss) + 1) * (mss))