Print this page
12513 SMB 3.1.1 support for server
*** 19,28 ****
--- 19,29 ----
* CDDL HEADER END
*/
/*
* Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2019 Nexenta Systems, Inc. All rights reserved.
+ * Copyright 2020 RackTop Systems, Inc.
*/
#include <sys/atomic.h>
#include <sys/synch.h>
#include <sys/types.h>
*** 855,864 ****
--- 856,868 ----
if (session->signing.mackey != NULL) {
kmem_free(session->signing.mackey,
session->signing.mackey_len);
}
+ if (session->preauth_mech != NULL)
+ smb31_preauth_fini(session);
+
session->s_magic = 0;
smb_rwx_destroy(&session->s_lock);
smb_net_txl_destructor(&session->s_txlst);