cifs: sanity check length of data to send before sending