setting crypto signing key

From: Steve French
Date: Tue Dec 18 2012 - 14:30:56 EST


cifs calls crypto_shash_setkey repeatedly (every time we do
smb2_calc_signature in fs/cifs/transport.c). Shouldn't this only be
called only once (at sesion establishment time, or whenever the
session key changes due to network reconnection) not on every request?

--
Thanks,

Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/