Merge tag 'upstream-4.4-rc1' of git://git.infradead.org/linux-ubifs
[firefly-linux-kernel-4.4.55.git] / fs / cifs / smb2pdu.c
index 597a417ba94d3bb910f52e3f14119a197ff2d090..61276929d139f64d1309481e69f2dfce2c8f1fe5 100644 (file)
@@ -660,7 +660,7 @@ ssetup_ntlmssp_authenticate:
                        goto ssetup_exit;
                }
 
-               msg = spnego_key->payload.data;
+               msg = spnego_key->payload.data[0];
                /*
                 * check version field to make sure that cifs.upcall is
                 * sending us a response in an expected form