net: sctp: fix ipv6 ipsec encryption bug in sctp_v6_xmit
[pandora-kernel.git] / net / sctp / auth.c
index bf81204..333926d 100644 (file)
@@ -71,7 +71,7 @@ void sctp_auth_key_put(struct sctp_auth_bytes *key)
                return;
 
        if (atomic_dec_and_test(&key->refcnt)) {
-               kfree(key);
+               kzfree(key);
                SCTP_DBG_OBJCNT_DEC(keys);
        }
 }