]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/net/sctp/structs.h
net, sctp: convert sctp_datamsg.refcnt from atomic_t to refcount_t
[karo-tx-linux.git] / include / net / sctp / structs.h
index 07c11fefa8c49fee9d9b5a668241b14a3fdf6058..4d7c855d84430736617654bf97e98c870aa314f8 100644 (file)
@@ -496,7 +496,7 @@ struct sctp_datamsg {
        /* Chunks waiting to be submitted to lower layer. */
        struct list_head chunks;
        /* Reference counting. */
-       atomic_t refcnt;
+       refcount_t refcnt;
        /* When is this message no longer interesting to the peer? */
        unsigned long expires_at;
        /* Did the messenge fail to send? */