HACK: smd_pkt:don't return error when buffer is too small